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 89c409f..1fc518b 100644
--- a/coreutils/logname.c
+++ b/coreutils/logname.c
@@ -35,5 +35,5 @@ extern int logname_main(int argc, char **argv)
puts(user);
return EXIT_SUCCESS;
}
- fatalError("no login name\n");
+ error_msg_and_die("no login name\n");
}