aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Paul Saman <jean-paul.saman@m2x.nl>2014-02-03 16:18:32 (GMT)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>2014-02-04 09:52:04 (GMT)
commit932c82e15cd589d0127595ce77acce331f992693 (patch)
tree3ac34c145a30c4b2b1b7f2c22bd796fde5a460fb
parent8cd1c49fdf5a7117f28e6d230311d0095d912dfb (diff)
examples/dump_pids.c: also print hex value of PID.
-rw-r--r--examples/dump_pids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dump_pids.c b/examples/dump_pids.c
index cd40215..58a4768 100644
--- a/examples/dump_pids.c
+++ b/examples/dump_pids.c
@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
uint32_t pid = ts_getpid(&p[0]);
uint32_t cc = ts_getcc(&p[0]);
n++;
- printf("packet %ld, pid %u, cc %d\n", n, pid, cc );
+ printf("packet %ld, pid %u (0x%x), cc %d\n", n, pid, pid, cc );
}
close(file);

Privacy Policy