summaryrefslogtreecommitdiffstats
path: root/login-utils/nologin.c
diff options
context:
space:
mode:
Diffstat (limited to 'login-utils/nologin.c')
-rw-r--r--login-utils/nologin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/nologin.c b/login-utils/nologin.c
index ecbd0d2..85ef3f0 100644
--- a/login-utils/nologin.c
+++ b/login-utils/nologin.c
@@ -32,9 +32,9 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(USAGE_OPTIONS, out);
fputs(_(" -c, --command <command> does nothing (for compatibility with su -c)\n"), out);
- printf(USAGE_HELP_OPTIONS(26));
+ fprintf(out, USAGE_HELP_OPTIONS(26));
- printf(USAGE_MAN_TAIL("nologin(8)"));
+ fprintf(out, USAGE_MAN_TAIL("nologin(8)"));
exit(EXIT_FAILURE);
}