diff options
author | bde <bde@FreeBSD.org> | 1998-07-06 21:01:54 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-06 21:01:54 +0000 |
commit | 0609531ab6b945c4918206f095bc1f6640408654 (patch) | |
tree | 0e5040099f85d8bf99734db8ff976b2c1e7d1b49 /usr.bin/truss/main.c | |
parent | baf42e5599bd1cbdb2a0e5427980549767a002b8 (diff) | |
download | FreeBSD-src-0609531ab6b945c4918206f095bc1f6640408654.zip FreeBSD-src-0609531ab6b945c4918206f095bc1f6640408654.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'usr.bin/truss/main.c')
-rw-r--r-- | usr.bin/truss/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/truss/main.c b/usr.bin/truss/main.c index 8c020e5..c83946a 100644 --- a/usr.bin/truss/main.c +++ b/usr.bin/truss/main.c @@ -31,7 +31,7 @@ #ifndef lint static const char rcsid[] = - "$Id: main.c,v 1.7 1998/01/05 07:30:25 charnier Exp $"; + "$Id: main.c,v 1.8 1998/01/07 06:19:50 jmg Exp $"; #endif /* not lint */ /* @@ -215,10 +215,10 @@ main(int ac, char **av) { funcs->exit_syscall(pid, pfs.val); break; case S_SIG: - fprintf(outfile, "SIGNAL %d\n", pfs.val); + fprintf(outfile, "SIGNAL %lu\n", pfs.val); break; case S_EXIT: - fprintf (outfile, "process exit, rval = %d\n", pfs.val); + fprintf (outfile, "process exit, rval = %lu\n", pfs.val); break; case S_EXEC: funcs = set_etype(); |