diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1999-02-27 12:08:02 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1999-02-27 12:08:02 +0000 |
commit | 7164b74e6466f2f4eae188e84b3443fccb363be0 (patch) | |
tree | 24187e4546a1f69ab24000c63479857e60b51ac9 /usr.sbin/pccard/pccardc/pccardmem.c | |
parent | c54f4a75568c7acc10d3a843f5ef9412460e263a (diff) |
Notes
Diffstat (limited to 'usr.sbin/pccard/pccardc/pccardmem.c')
-rw-r--r-- | usr.sbin/pccard/pccardc/pccardmem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pccard/pccardc/pccardmem.c b/usr.sbin/pccard/pccardc/pccardmem.c index 8461e0e7fa94a..240cdd6399144 100644 --- a/usr.sbin/pccard/pccardc/pccardmem.c +++ b/usr.sbin/pccard/pccardc/pccardmem.c @@ -26,7 +26,7 @@ #ifndef lint static const char rcsid[] = - "$Id: pccardmem.c,v 1.9 1997/11/18 21:08:06 nate Exp $"; + "$Id: pccardmem.c,v 1.10 1999/02/05 16:00:15 kuriyama Exp $"; #endif /* not lint */ #include <err.h> @@ -64,8 +64,8 @@ pccardmem_main(argc, argv) errx(1, "arg error"); } if (ioctl(fd, PIOCRWMEM, &addr)) - warn("ioctl"); + err(1, "ioctl (PIOCRWMEM)"); else printf("PCCARD Memory address set to 0x%x\n", addr); - exit(0); + return 0; } |