[BACK]Return to username.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / top

Diff for /src/usr.bin/top/Attic/username.c between version 1.19 and 1.20

version 1.19, 2018/09/16 02:44:06 version 1.20, 2018/09/22 02:18:19
Line 51 
Line 51 
 userid(const char *username)  userid(const char *username)
 {  {
         uid_t uid;          uid_t uid;
           if (uid_from_user(username, &uid) == -1) {
         return uid_from_user(username, &uid);                  uid = (uid_t)-1;
           }
           return uid;
 }  }

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20