diff options
Diffstat (limited to 'toys/lsb/passwd.c')
-rw-r--r-- | toys/lsb/passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/lsb/passwd.c b/toys/lsb/passwd.c index f3338361..c92fb0d7 100644 --- a/toys/lsb/passwd.c +++ b/toys/lsb/passwd.c @@ -160,7 +160,7 @@ void passwd_main(void) } else if (toys.optflags & FLAG_l) { if (pass[0] == '!') error_exit("password is already locked for %s",name); printf("Locking password for %s\n",name); - encrypted = xmsprintf("!%s",pass); + encrypted = xmprintf("!%s",pass); } else if (toys.optflags & FLAG_u) { if (pass[0] != '!') error_exit("password is already unlocked for %s",name); |