Searched refs:tmppasswdfile (Results 1 – 1 of 1) sorted by relevance
103 char tmppasswdfile[FILENAME_MAX]; in changepasswd() local633 strcpy(tmppasswdfile, passwd_file); in changepasswd()634 strcat(tmppasswdfile, "-"); in changepasswd()645 if (rename(passwd_file, tmppasswdfile) < 0) { in changepasswd()653 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()667 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()682 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()694 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()704 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()728 unlink(tmppasswdfile); in changepasswd()