summaryrefslogtreecommitdiffstats
path: root/login-utils/chsh.c
diff options
context:
space:
mode:
authorKarel Zak2010-12-10 16:47:18 +0100
committerKarel Zak2010-12-10 16:47:18 +0100
commitabafd68667a965c033c5cef0646482433f6994b5 (patch)
tree7be1e393db96bf3e740d161ebae39de844ad3ae4 /login-utils/chsh.c
parentchfn: Use EXIT_* and err() (diff)
downloadkernel-qcow2-util-linux-abafd68667a965c033c5cef0646482433f6994b5.tar.gz
kernel-qcow2-util-linux-abafd68667a965c033c5cef0646482433f6994b5.tar.xz
kernel-qcow2-util-linux-abafd68667a965c033c5cef0646482433f6994b5.zip
fix __noreturn__ usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/chsh.c')
-rw-r--r--login-utils/chsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/chsh.c b/login-utils/chsh.c
index 41acc1ffc..22b335063 100644
--- a/login-utils/chsh.c
+++ b/login-utils/chsh.c
@@ -82,7 +82,7 @@ static char *prompt (char *question, char *def_val);
static int check_shell (char *shell);
static boolean get_shell_list (char *shell);
-static int __attribute__((__noreturn__)) usage (FILE *fp)
+static void __attribute__((__noreturn__)) usage (FILE *fp)
{
fprintf (fp,
_("Usage: %s [ -s shell ] [ --list-shells ] "