diff options
Diffstat (limited to 'usr.sbin/pccard/pccardc/wrreg.c')
-rw-r--r-- | usr.sbin/pccard/pccardc/wrreg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pccard/pccardc/wrreg.c b/usr.sbin/pccard/pccardc/wrreg.c index 39ef42d..b86ee11 100644 --- a/usr.sbin/pccard/pccardc/wrreg.c +++ b/usr.sbin/pccard/pccardc/wrreg.c @@ -26,7 +26,7 @@ #ifndef lint static const char rcsid[] = - "$Id: wrreg.c,v 1.9 1997/11/18 21:08:08 nate Exp $"; + "$Id: wrreg.c,v 1.10 1999/02/05 16:00:16 kuriyama Exp $"; #endif /* not lint */ #include <err.h> @@ -68,6 +68,6 @@ wrreg_main(argc, argv) r.reg = reg; r.value = value; if (ioctl(fd, PIOCSREG, &r)) - warn("ioctl"); + err(1, "ioctl (PIOCSREG)"); return 0; } |