From e9f25368435bf4d7352f67ab077428f8924d29cb Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 13 Aug 2007 21:19:36 +0000 Subject: [PATCH] print subdevice too on command dumps. --- demo/common.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demo/common.c b/demo/common.c index 0d2198b..f4c441c 100644 --- a/demo/common.c +++ b/demo/common.c @@ -119,6 +119,9 @@ void dump_cmd(FILE *out,comedi_cmd *cmd) { char buf[100]; + fprintf(out,"subdevice: %d\n", + cmd->subdev); + fprintf(out,"start: %-8s %d\n", cmd_src(cmd->start_src,buf), cmd->start_arg); -- 2.26.2