summaryrefslogtreecommitdiff
path: root/coreutils/logname.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/logname.c')
-rw-r--r--coreutils/logname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/logname.c b/coreutils/logname.c
index 4b4483c..12ebfbd 100644
--- a/coreutils/logname.c
+++ b/coreutils/logname.c
@@ -41,6 +41,6 @@ extern int logname_main(int argc, char **argv)
puts(user);
exit(TRUE);
}
- fprintf(stderr, "no login name\n");
+ errorMsg("no login name\n");
return(FALSE);
}