libbb: move nuke_str() from passwd into libbb
[oweals/busybox.git] / libbb / update_passwd.c
index a2be0f1552620597b3493a7081dc7988d799dbf8..a30af6f72322c27c345c271b7189791612f53aef 100644 (file)
@@ -22,7 +22,7 @@ static void check_selinux_update_passwd(const char *username)
        char *seuser;
 
        if (getuid() != (uid_t)0 || is_selinux_enabled() == 0)
-               return;         /* No need to check */
+               return;  /* No need to check */
 
        if (getprevcon_raw(&context) < 0)
                bb_perror_msg_and_die("getprevcon failed");
@@ -58,7 +58,7 @@ static void check_selinux_update_passwd(const char *username)
  6) delete a user from a group: update_passwd(FILE, GROUP, NULL, MEMBER)
     only if CONFIG_FEATURE_DEL_USER_FROM_GROUP=y and member != NULL
 
- 7) change user's passord: update_passwd(FILE, USER, NEW_PASSWD, NULL)
+ 7) change user's password: update_passwd(FILE, USER, NEW_PASSWD, NULL)
     only if CONFIG_PASSWD=y and applet_name[0] == 'p' like in passwd
     or if CONFIG_CHPASSWD=y and applet_name[0] == 'c' like in chpasswd