1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00
(This used to be commit af13f5e1788b6f81cfcdaeb85dc709458e3d4816)
This commit is contained in:
Andrew Tridgell 1997-10-28 14:55:47 +00:00
parent d6739a10d0
commit c79e0abdd7

View File

@ -453,7 +453,7 @@ Error was %s\n", argv[0], pwd->pw_name, pfile, strerror(errno));
exit(1);
}
sprintf(new_entry, "%s:%u:", pwd->pw_name, pwd->pw_uid);
sprintf(new_entry, "%s:%u:", pwd->pw_name, (unsigned)pwd->pw_uid);
p = &new_entry[strlen(new_entry)];
for( i = 0; i < 16; i++)
sprintf(&p[i*2], "%02X", new_p16[i]);