Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2015 00:08:24 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288406 - head/usr.bin/truss
Message-ID:  <201509300008.t8U08Owa055488@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Sep 30 00:08:24 2015
New Revision: 288406
URL: https://svnweb.freebsd.org/changeset/base/288406

Log:
  Trim trailing whitespace.

Modified:
  head/usr.bin/truss/arm-fbsd.c
  head/usr.bin/truss/syscall.h
  head/usr.bin/truss/syscalls.c

Modified: head/usr.bin/truss/arm-fbsd.c
==============================================================================
--- head/usr.bin/truss/arm-fbsd.c	Tue Sep 29 23:54:26 2015	(r288405)
+++ head/usr.bin/truss/arm-fbsd.c	Wed Sep 30 00:08:24 2015	(r288406)
@@ -140,7 +140,7 @@ arm_syscall_entry(struct trussinfo *trus
 #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;

Modified: head/usr.bin/truss/syscall.h
==============================================================================
--- head/usr.bin/truss/syscall.h	Tue Sep 29 23:54:26 2015	(r288405)
+++ head/usr.bin/truss/syscall.h	Wed Sep 30 00:08:24 2015	(r288406)
@@ -86,11 +86,11 @@ char *print_arg(struct syscall_args *, u
 #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)

Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c	Tue Sep 29 23:54:26 2015	(r288405)
+++ head/usr.bin/truss/syscalls.c	Wed Sep 30 00:08:24 2015	(r288406)
@@ -811,7 +811,7 @@ print_kevent(FILE *fp, struct kevent *ke
 		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, unsig
 			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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509300008.t8U08Owa055488>