diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
commit | a14d555c873398b14776ca4f2c33f9c69617afb9 (patch) | |
tree | 350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/gcore | |
parent | f3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff) | |
download | FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/gcore')
-rw-r--r-- | usr.bin/gcore/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/gcore/aoutcore.c | 6 | ||||
-rw-r--r-- | usr.bin/gcore/gcore.c | 6 | ||||
-rw-r--r-- | usr.bin/gcore/md-sparc.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/gcore/Makefile b/usr.bin/gcore/Makefile index 3a1c7ca..664813f 100644 --- a/usr.bin/gcore/Makefile +++ b/usr.bin/gcore/Makefile @@ -5,7 +5,7 @@ SRCS= gcore.c DPADD= ${LIBKVM} LDADD= -lkvm -.if ${MACHINE} != "sparc" +.if ${MACHINE} != "sparc" SRCS+= md-nop.c .else SRCS+= md-${MACHINDE}.c diff --git a/usr.bin/gcore/aoutcore.c b/usr.bin/gcore/aoutcore.c index 2ecca18..49149e8 100644 --- a/usr.bin/gcore/aoutcore.c +++ b/usr.bin/gcore/aoutcore.c @@ -122,7 +122,7 @@ main(argc, argv) uid = getuid(); pid = atoi(argv[1]); - + ki = kvm_getprocs(kd, KERN_PROC_PID, pid, &cnt); if (ki == NULL || cnt != 1) err(1, "%d: not found", pid); @@ -228,7 +228,7 @@ datadump(efd, fd, p, addr, npage) { register int cc, delta; char buffer[NBPG]; - + delta = data_offset - addr; while (--npage >= 0) { cc = kvm_uread(kd, p, addr, buffer, NBPG); @@ -238,7 +238,7 @@ datadump(efd, fd, p, addr, npage) err(1, "seek executable: %s", strerror(errno)); cc = read(efd, buffer, sizeof(buffer)); if (cc != sizeof(buffer)) - if (cc < 0) + if (cc < 0) err(1, "read executable: %s", strerror(errno)); else /* Assume untouched bss page. */ diff --git a/usr.bin/gcore/gcore.c b/usr.bin/gcore/gcore.c index 2ecca18..49149e8 100644 --- a/usr.bin/gcore/gcore.c +++ b/usr.bin/gcore/gcore.c @@ -122,7 +122,7 @@ main(argc, argv) uid = getuid(); pid = atoi(argv[1]); - + ki = kvm_getprocs(kd, KERN_PROC_PID, pid, &cnt); if (ki == NULL || cnt != 1) err(1, "%d: not found", pid); @@ -228,7 +228,7 @@ datadump(efd, fd, p, addr, npage) { register int cc, delta; char buffer[NBPG]; - + delta = data_offset - addr; while (--npage >= 0) { cc = kvm_uread(kd, p, addr, buffer, NBPG); @@ -238,7 +238,7 @@ datadump(efd, fd, p, addr, npage) err(1, "seek executable: %s", strerror(errno)); cc = read(efd, buffer, sizeof(buffer)); if (cc != sizeof(buffer)) - if (cc < 0) + if (cc < 0) err(1, "read executable: %s", strerror(errno)); else /* Assume untouched bss page. */ diff --git a/usr.bin/gcore/md-sparc.c b/usr.bin/gcore/md-sparc.c index 794ceb1..5df8a57 100644 --- a/usr.bin/gcore/md-sparc.c +++ b/usr.bin/gcore/md-sparc.c @@ -164,7 +164,7 @@ md_core(kd, fd, ki) * It's possible to be missing the bottomost * page because a stack page hasn't been allocated * for the register save area. Shift over - * the stack segment by a page, and update + * the stack segment by a page, and update * the u-area to reflect the new stack size. YECH! */ shift_page(fd, off, ssize); |