summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-09-30 00:08:24 +0000
committerjhb <jhb@FreeBSD.org>2015-09-30 00:08:24 +0000
commit1373e1739e497918eaad8df7277fcff117dc9615 (patch)
tree4e33df9ddaeac5be074318e5c577e66812581a8f /usr.bin/truss
parent1e306b6ab49772d000f759e109256d68886a2c60 (diff)
downloadFreeBSD-src-1373e1739e497918eaad8df7277fcff117dc9615.zip
FreeBSD-src-1373e1739e497918eaad8df7277fcff117dc9615.tar.gz
Trim trailing whitespace.
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/arm-fbsd.c2
-rw-r--r--usr.bin/truss/syscall.h4
-rw-r--r--usr.bin/truss/syscalls.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/truss/arm-fbsd.c b/usr.bin/truss/arm-fbsd.c
index 8dc4d5b..8fa9fb90 100644
--- a/usr.bin/truss/arm-fbsd.c
+++ b/usr.bin/truss/arm-fbsd.c
@@ -140,7 +140,7 @@ arm_syscall_entry(struct trussinfo *trussinfo, int nargs)
#ifdef __ARM_EABI__
syscall_num = regs.r[7];
#else
- if ((syscall_num = ptrace(PT_READ_I, tid,
+ if ((syscall_num = ptrace(PT_READ_I, tid,
(caddr_t)(regs.r[_REG_PC] - INSN_SIZE), 0)) == -1) {
fprintf(trussinfo->outfile, "-- CANNOT READ PC --\n");
return;
diff --git a/usr.bin/truss/syscall.h b/usr.bin/truss/syscall.h
index 6f4d9a3..f1f57d4 100644
--- a/usr.bin/truss/syscall.h
+++ b/usr.bin/truss/syscall.h
@@ -86,11 +86,11 @@ char *print_arg(struct syscall_args *, unsigned long*, long, struct trussinfo *)
#define LINUX_SETSOCKOPT 14
#define LINUX_GETSOCKOPT 15
#define LINUX_SENDMSG 16
-#define LINUX_RECVMSG 17
+#define LINUX_RECVMSG 17
#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
0 : sizeof(register_t) - sizeof(t))
-
+
#if BYTE_ORDER == LITTLE_ENDIAN
#define PADL_(t) 0
#define PADR_(t) PAD_(t)
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index 917421b..638ce5a 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -811,7 +811,7 @@ print_kevent(FILE *fp, struct kevent *ke, int input)
int ctrl, data;
ctrl = ke->fflags & NOTE_FFCTRLMASK;
- data = ke->fflags & NOTE_FFLAGSMASK;
+ data = ke->fflags & NOTE_FFLAGSMASK;
if (input) {
fputs(xlookup(kevent_user_ffctrl, ctrl), fp);
if (ke->fflags & NOTE_TRIGGER)
@@ -937,7 +937,7 @@ print_arg(struct syscall_args *sc, unsigned long *args, long retval,
fprintf(fp, "0x%lx", args[sc->offset]);
break;
}
-
+
/*
* Read a page of pointers at a time. Punt if the top-level
* pointer is not aligned. Note that the first read is of
OpenPOWER on IntegriCloud