diff --git a/share/examples/rump/wirelessconf/Makefile b/share/examples/rump/wirelessconf/Makefile index d222607fd12a..345436fe0b11 100644 --- a/share/examples/rump/wirelessconf/Makefile +++ b/share/examples/rump/wirelessconf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2009/10/05 13:07:28 pooka Exp $ +# $NetBSD: Makefile,v 1.2 2009/10/14 23:51:22 pooka Exp $ # PROG= wirelessconf @@ -11,5 +11,6 @@ LDADD+= -lrumpuser -lpthread DBG= -g NOMAN= +WARNS= 4 .include diff --git a/share/examples/rump/wirelessconf/wirelessconf.c b/share/examples/rump/wirelessconf/wirelessconf.c index 44f3f65977d0..08213a63918b 100644 --- a/share/examples/rump/wirelessconf/wirelessconf.c +++ b/share/examples/rump/wirelessconf/wirelessconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: wirelessconf.c,v 1.1 2009/10/05 13:07:28 pooka Exp $ */ +/* $NetBSD: wirelessconf.c,v 1.2 2009/10/14 23:51:22 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -46,7 +46,7 @@ #define RUMFW "/libdata/firmware/rum/rum-rt2573" int -main() +main(void) { extern int rumpns_boothowto; struct ifreq ifr; @@ -57,7 +57,7 @@ main() printf("\ndevice autoconfiguration finished\n"); printf("tira-if-su ...\n"); - if (rump_etfs_register(RUMFW, RUMFW, RUMP_ETFS_REG) != 0) + if (rump_pub_etfs_register(RUMFW, RUMFW, RUMP_ETFS_REG) != 0) errx(1, "firmware etfs registration failed"); /* rum? shouldn't that be marsala? */