diff options
author | Rob Landley <rob@landley.net> | 2018-11-17 18:25:08 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-11-17 18:25:08 -0600 |
commit | 503e6362290d56bce0ed71f8164f24e25108bbbc (patch) | |
tree | 06d962fb5a547aa07f387d879cb28ff84fd23b78 /toys/lsb/passwd.c | |
parent | 7d26f1071d17dc2980280008fbbcd8a6a376d387 (diff) | |
download | toybox-503e6362290d56bce0ed71f8164f24e25108bbbc.tar.gz |
Convert more GLOBALS argument vars to the new single letter code style.
Diffstat (limited to 'toys/lsb/passwd.c')
-rw-r--r-- | toys/lsb/passwd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/toys/lsb/passwd.c b/toys/lsb/passwd.c index e23de1c6..0f51c0c0 100644 --- a/toys/lsb/passwd.c +++ b/toys/lsb/passwd.c @@ -36,7 +36,7 @@ config PASSWD_SAD #include "toys.h" GLOBALS( - char *algo; + char *a; ) // Sad advisory heuristic, won't find password1 password2 password3... @@ -84,8 +84,7 @@ void passwd_main(void) printf("Deleting password for '%s'\n", name); encrypted = ""; } else { - if (get_salt(salt, TT.algo ? TT.algo : "des")<0) - error_exit("bad -a '%s'", TT.algo); + if (get_salt(salt, TT.a ? TT.a : "des")<0) error_exit("bad -a '%s'", TT.a); printf("Changing password for %s\n", name); if (myuid) { |