summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metaentry.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/metaentry.c b/metaentry.c
index 50ae7b6..0277c28 100644
--- a/metaentry.c
+++ b/metaentry.c
@@ -194,15 +194,15 @@ mentry_create(const char *path)
pbuf = xgetpwuid(sbuf.st_uid);
if (!pbuf) {
- msg(MSG_ERROR, "getpwuid failed for %i: %s\n",
- (int)sbuf.st_uid, strerror(errno));
+ msg(MSG_ERROR, "getpwuid failed for %s: uid %i not found\n",
+ path, (int)sbuf.st_uid);
return NULL;
}
gbuf = xgetgrgid(sbuf.st_gid);
if (!gbuf) {
- msg(MSG_ERROR, "getgrgid failed for %i: %s\n",
- (int)sbuf.st_gid, strerror(errno));
+ msg(MSG_ERROR, "getgrgid failed for %s: gid %i not found\n",
+ path, (int)sbuf.st_gid);
return NULL;
}