summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIker Pedrosa <ipedrosa@redhat.com>2023-05-31 09:38:12 +0200
committerIker Pedrosa <ikerpedrosam@gmail.com>2023-05-31 09:53:31 +0200
commit9233e5e0aebc210c56375a3a2bc779f20a09a82d (patch)
treeb10b134b5b0fc97c3c7f9d2af7b1b4e72ed518cd
parent3c7327842cdcebe15caecb84a14c2b6b6eb10560 (diff)
newusers: Improve error message
Fixes: b422e3c31691: Check if crypt_method null before dereferencing Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
-rw-r--r--src/newusers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newusers.c b/src/newusers.c
index d6b7c3c3..5aa520a3 100644
--- a/src/newusers.c
+++ b/src/newusers.c
@@ -665,7 +665,7 @@ static void process_flags (int argc, char **argv)
if (!crypt_method){
fprintf(stderr,
- _("%s: Provide '--crypt-method'\n"),
+ _("%s: Provide '--crypt-method' before number of rounds\n"),
Prog);
usage (EXIT_FAILURE);
}