summaryrefslogtreecommitdiff
path: root/components/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/user.c')
-rw-r--r--components/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/user.c b/components/user.c
index 8ab6db9..cd503f6 100644
--- a/components/user.c
+++ b/components/user.c
@@ -20,7 +20,7 @@ username(void)
struct passwd *pw;
if (!(pw = getpwuid(geteuid()))) {
- fprintf(stderr, "getpwuid '%d': %s\n", geteuid(), strerror(errno));
+ warn("getpwuid '%d':", geteuid());
return NULL;
}