Trim trailing whitespace.
This commit is contained in:
parent
1e306b6ab4
commit
1373e1739e
@ -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;
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user