diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:12:45 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:12:45 +0000 |
commit | f3a2b348daf9fa6063c38d2d69563f732a2f80e7 (patch) | |
tree | 4d38911cf1e5e1ef56a662eddcbe2f706b2e6973 /sbin/dumpon | |
parent | f05428e4cd63dde97bac14b84dd146a5c00455e3 (diff) | |
download | FreeBSD-src-f3a2b348daf9fa6063c38d2d69563f732a2f80e7.zip FreeBSD-src-f3a2b348daf9fa6063c38d2d69563f732a2f80e7.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'sbin/dumpon')
-rw-r--r-- | sbin/dumpon/dumpon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dumpon/dumpon.c b/sbin/dumpon/dumpon.c index 649a73a..dc185e9 100644 --- a/sbin/dumpon/dumpon.c +++ b/sbin/dumpon/dumpon.c @@ -40,7 +40,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "From: @(#)swapon.c 8.1 (Berkeley) 6/5/93";*/ static const char rcsid[] = - "$Id$"; + "$Id: dumpon.c,v 1.1 1995/05/12 19:10:09 wollman Exp $"; #endif /* not lint */ #include <errno.h> @@ -99,7 +99,7 @@ main(int argc, char **argv) mib[0] = CTL_KERN; mib[1] = KERN_DUMPDEV; - rv = sysctl(mib, 2, (void *)0, (size_t *)0, &stab.st_rdev, + rv = sysctl(mib, 2, (void *)0, (size_t *)0, &stab.st_rdev, sizeof stab.st_rdev); if (rv) { err(EX_OSERR, "sysctl: kern.dumpdev"); @@ -110,7 +110,7 @@ main(int argc, char **argv) printf("%s: crash dumps disabled\n", whoami); } else { printf("%s: crash dumps to %s (%lu, %lu)\n", - whoami, argv[0], + whoami, argv[0], (unsigned long)major(stab.st_rdev), (unsigned long)minor(stab.st_rdev)); } |