mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 08:52:46 +00:00
Remove an unnecessary cast.
This commit is contained in:
parent
df95311a10
commit
fb034d05ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101458
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user