diff options
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/umountd/umountd.c | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/umountd/umountd.c b/contrib/umountd/umountd.c index 0d2c6f20b60..c06dd54db6e 100644 --- a/contrib/umountd/umountd.c +++ b/contrib/umountd/umountd.c @@ -56,7 +56,8 @@ sanity_check (char *path, dev_t *devp)                          break;                  default:                          gf_log ("umountd", GF_LOG_ERROR, -                                "Cannot access %s\n", path, strerror (errno)); +                                "Cannot access %s: %s\n", +                                path, strerror (errno));                          goto out;                  }          } @@ -70,7 +71,8 @@ sanity_check (char *path, dev_t *devp)          if (stat (parent, &parent_st) != 0) {                  gf_log ("umountd", GF_LOG_ERROR, -                        "Cannot access %s\n", parent, strerror (errno)); +                        "Cannot access %s: %s\n", +                        parent, strerror (errno));                  goto out;          }  | 
