* autoload.cc (wsock_init): Reorganize slightly to accomodate a new compiler.

This commit is contained in:
Christopher Faylor
2001-10-13 01:35:15 +00:00
parent cb1826572c
commit bc6ed54986
12 changed files with 19 additions and 14 deletions

View File

@@ -170,7 +170,7 @@ read_etc_passwd ()
{
debug_printf ("Emulating /etc/passwd");
snprintf (linebuf, sizeof (linebuf), "%s::%u:%u::%s:/bin/sh", cygheap->user.name (),
DEFAULT_UID, DEFAULT_GID, getenv ("HOME") ?: "/");
(unsigned) DEFAULT_UID, (unsigned) DEFAULT_GID, getenv ("HOME") ?: "/");
add_pwd_line (linebuf);
passwd_state = emulated;
}