summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2021-03-19 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2021-03-19 08:00:00 +0000
commit1b5373724ecad0f71a2ec4e8b2dc4f6d7432145e (patch)
treeabcd6c5b7bc66c9b7175a9f9d5698c223b5a7ed3
parent47a0e7d26d18f9b5e378251fc59c4375ed0ca11f (diff)
downloadstrace-1b5373724ecad0f71a2ec4e8b2dc4f6d7432145e.tar.gz
watchdog_ioctl: use print_fields.h helpers
* src/watchdog_ioctl.c (watchdog_ioctl): Use tprint_arg_next.
-rw-r--r--src/watchdog_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/watchdog_ioctl.c b/src/watchdog_ioctl.c
index 13254739d..b88094f0d 100644
--- a/src/watchdog_ioctl.c
+++ b/src/watchdog_ioctl.c
@@ -29,7 +29,7 @@ watchdog_ioctl(struct tcb *const tcp, const unsigned int code,
ATTRIBUTE_FALLTHROUGH;
case WDIOC_SETTIMEOUT:
case WDIOC_SETPRETIMEOUT:
- tprints(", ");
+ tprint_arg_next();
printnum_int(tcp, arg, "%d");
break;