From: Dmitry V. Levin Date: Mon, 19 Dec 2016 16:19:40 +0000 (+0000) Subject: v4l2.c: print v4l2_ext_control.value64 using PRId64 format X-Git-Tag: v4.16~329 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42cbea662714eeaa79bb643db5682ac8677666c8;p=strace v4l2.c: print v4l2_ext_control.value64 using PRId64 format * v4l2.c (print_v4l2_ext_control): Print value64 field of struct_v4l2_ext_control using PRId64 format. --- diff --git a/v4l2.c b/v4l2.c index 3aee199c..ab50c189 100644 --- 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;