summaryrefslogtreecommitdiff
path: root/login-utils
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2010-12-10 16:47:18 +0100
committerKarel Zak <kzak@redhat.com>2010-12-10 16:47:18 +0100
commitabafd68667a965c033c5cef0646482433f6994b5 (patch)
tree7be1e393db96bf3e740d161ebae39de844ad3ae4 /login-utils
parent39941b4e38e47fc4ae8f149c60ac2fc4145fb852 (diff)
downloadutil-linux-old-abafd68667a965c033c5cef0646482433f6994b5.tar.gz
fix __noreturn__ usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils')
-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 41acc1ff..22b33506 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 ] "