]> granicus.if.org Git - strace/commitdiff
v4l2.c: print v4l2_ext_control.value64 using PRId64 format
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 19 Dec 2016 16:19:40 +0000 (16:19 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 19 Dec 2016 19:58:16 +0000 (19:58 +0000)
* v4l2.c (print_v4l2_ext_control): Print value64 field
of struct_v4l2_ext_control using PRId64 format.

v4l2.c

diff --git a/v4l2.c b/v4l2.c
index 3aee199c0936eb17778a8e28a2ae69eba51bb941..ab50c18902aae720fdf5fd4aebc8a735c9c0729f 100644 (file)
--- a/v4l2.c
+++ b/v4l2.c
@@ -666,8 +666,7 @@ print_v4l2_ext_control(struct tcb *tcp, void *elem_buf, size_t elem_size, void *
                printstr(tcp, (long) p->string, p->size);
        } else
 # endif
-       tprintf(", value=%d, value64=%lld", p->value,
-               (long long) p->value64);
+       tprintf(", value=%d, value64=%" PRId64, p->value, (int64_t) p->value64);
        tprints("}");
 
        return true;