Subject: sysinst build fail
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 01/21/1999 20:00:42
>From source supped just now (21 Jan), src/distrib/utils/sysinst,
all ===> arch/i386
cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -I. -I/usr/src/distrib/utils/sysinst/arch/i386/../.. -I/usr/src/distrib/utils/sysinst/arch/i386 -DREL=\"1.3I\" -DMACH=\"i386\" -c /usr/src/distrib/utils/sysinst/arch/i386/../../fdisk.c
cc1: warnings being treated as errors
/usr/src/distrib/utils/sysinst/arch/i386/../../fdisk.c: In function `set_fdisk_info':
/usr/src/distrib/utils/sysinst/arch/i386/../../fdisk.c:135: warning: passing arg 1 of `run_prog' makes integer from pointer without a cast
/usr/src/distrib/utils/sysinst/arch/i386/../../fdisk.c:135: warning: passing arg 3 of `run_prog' makes pointer from integer without a cast
/usr/src/distrib/utils/sysinst/arch/i386/../../fdisk.c:139: warning: passing arg 1 of `run_prog' makes integer from pointer without a cast
$NetBSD: fdisk.c,v 1.10 1998/10/25 19:15:04 phil Exp $
$NetBSD: defs.h,v 1.33 1999/01/21 08:02:17 garbled Exp $
defs.h:int run_prog __P((int, int, char *, ...));
135:
run_prog("/sbin/fdisk -u -f -%d -b %d/%d/%d "
"-s %d/%d/%d /dev/r%sd",
i, bcyl, bhead, bsec,
part[i][ID], part[i][START],
part[i][SIZE], diskdev);
139:
run_prog("/sbin/fdisk -a -%d -f /dev/r%s",
activepart, diskdev);
What happened to the 2 ints?
Cheers,
Patrick