Date: Wed, 1 Sep 1999 13:31:42 +0200 From: Udo Schweigert <ust@cert.siemens.de> To: freebsd-stable@freebsd.org, cvs-all@freebsd.org Subject: make kernel broken in -STABLE Message-ID: <19990901133142.A21235@alaska.cert.siemens.de>
next in thread | raw e-mail | index | archive | help
Hi, today´s -STABLE had the following error when making a new kernel: cc -c -O2 -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DUSBVERBOSE -DKERNEL -DVM_STACK -include opt_global.h -elf ../../kern/kern_sig.c ../../kern/kern_sig.c: In function `expand_name': ../../kern/kern_sig.c:1275: argument `uid' doesn't match prototype ../../kern/kern_sig.c:74: prototype declaration *** Error code 1 Here´s a patch: --- ../../kern/kern_sig.c Wed Sep 1 08:12:01 1999 +++ /tmp/kern_sig.c Wed Sep 1 13:03:10 1999 @@ -1272,7 +1272,7 @@ static char * expand_name(name, uid, pid) -const char *name; int uid; int pid; { +const char *name; uid_t uid; int pid; { char *temp; char buf[11]; /* Buffer for pid/uid -- max 4B */ int i, n; Regards ------------------------------------------------------------------------------- Udo Schweigert || Voice : +49 89 636 42170 Siemens AG, Siemens CERT || Fax : +49 89 636 48000 ZT IK 3 || email : Udo.Schweigert@mchp.siemens.de D-81730 Muenchen / Germany || : ust@cert.siemens.de PGP fingerprint || 2A 53 F6 A6 30 59 64 02 6B C4 E0 73 B2 C9 6C E7 ------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990901133142.A21235>