svn commit: r313449 - in head: sys/sys usr.bin/gcore
John Baldwin
jhb at FreeBSD.org
Wed Feb 8 17:45:25 UTC 2017
Author: jhb
Date: Wed Feb 8 17:45:23 2017
New Revision: 313449
URL: https://svnweb.freebsd.org/changeset/base/313449
Log:
Trim trailing whitespace (mostly introduced in r313407).
Sponsored by: DARPA / AFRL
Modified:
head/sys/sys/proc.h
head/usr.bin/gcore/elfcore.c
Modified: head/sys/sys/proc.h
==============================================================================
--- head/sys/sys/proc.h Wed Feb 8 17:03:52 2017 (r313448)
+++ head/sys/sys/proc.h Wed Feb 8 17:45:23 2017 (r313449)
@@ -315,7 +315,7 @@ struct thread {
} td_state; /* (t) thread state */
union {
register_t tdu_retval[2];
- off_t tdu_off;
+ off_t tdu_off;
} td_uretoff; /* (k) Syscall aux returns. */
#define td_retval td_uretoff.tdu_retval
u_int td_cowgen; /* (k) Generation of COW pointers. */
@@ -619,7 +619,7 @@ struct proc {
u_int p_xsig; /* (c) Stop/kill sig. */
uint16_t p_elf_machine; /* (x) ELF machine type */
uint64_t p_elf_flags; /* (x) ELF flags */
-
+
/* End area that is copied on creation. */
#define p_endcopy p_elf_flags
struct pgrp *p_pgrp; /* (c + e) Pointer to process group. */
Modified: head/usr.bin/gcore/elfcore.c
==============================================================================
--- head/usr.bin/gcore/elfcore.c Wed Feb 8 17:03:52 2017 (r313448)
+++ head/usr.bin/gcore/elfcore.c Wed Feb 8 17:45:23 2017 (r313449)
@@ -434,7 +434,7 @@ elf_puthdr(int efd, pid_t pid, vm_map_en
err(1, "Failed to re-read ELF header");
else if (cnt != sizeof(binhdr))
errx(1, "Failed to re-read ELF header");
-
+
ehdr = (Elf_Ehdr *)hdr;
ehdr->e_ident[EI_MAG0] = ELFMAG0;
More information about the svn-src-all
mailing list