summaryrefslogtreecommitdiffstats
path: root/sys-utils/switch_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/switch_root.c')
-rw-r--r--sys-utils/switch_root.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys-utils/switch_root.c b/sys-utils/switch_root.c
index 174eec6..ab8c2a1 100644
--- a/sys-utils/switch_root.c
+++ b/sys-utils/switch_root.c
@@ -230,8 +230,8 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(_("Switch to another filesystem as the root of the mount tree.\n"), output);
fputs(USAGE_OPTIONS, output);
- printf(USAGE_HELP_OPTIONS(16));
- printf(USAGE_MAN_TAIL("switch_root(8)"));
+ fprintf(output, USAGE_HELP_OPTIONS(16));
+ fprintf(output, USAGE_MAN_TAIL("switch_root(8)"));
exit(EXIT_SUCCESS);
}
@@ -280,4 +280,3 @@ int main(int argc, char *argv[])
execv(init, initargs);
errexec(init);
}
-