From fb034d05ac05c44104c6bd2a81684bd17f314f43 Mon Sep 17 00:00:00 2001 From: "Matthew N. Dodd" Date: Wed, 7 Aug 2002 11:35:18 +0000 Subject: [PATCH] Remove an unnecessary cast. --- usr.bin/truss/syscalls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index 762d101ec87a..82c0324f0c6a 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -418,13 +418,13 @@ print_syscall(struct trussinfo *trussinfo, const char *name, int nargs, char **s if (trussinfo->flags & ABSOLUTETIMESTAMPS) { timespecsubt(&trussinfo->after, &trussinfo->start_time, &timediff); len += fprintf(trussinfo->outfile, "%ld.%09ld ", - (long)timediff.tv_sec, (long)timediff.tv_nsec); + (long)timediff.tv_sec, timediff.tv_nsec); } if (trussinfo->flags & RELATIVETIMESTAMPS) { timespecsubt(&trussinfo->after, &trussinfo->before, &timediff); len += fprintf(trussinfo->outfile, "%ld.%09ld ", - (long)timediff.tv_sec, (long)timediff.tv_nsec); + (long)timediff.tv_sec, timediff.tv_nsec); } len += fprintf(trussinfo->outfile, "%s(", name);