diff options
author | AlexChen <alex.chen@huawei.com> | 2020-11-03 17:42:56 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-11-03 16:24:56 +0100 |
commit | c9eb2f3e386840844bcc91e66d0a3475bc650780 (patch) | |
tree | 2a6c418713e21b80f81a2d188271f4592dfd43c7 /util | |
parent | 757ae0ec5cc6849b88280e2aaca70fe5eb022a0d (diff) |
block/vvfat: Fix bad printf format specifiers
We should use printf format specifier "%u" instead of "%d" for
argument of type "unsigned int".
In addition, fix two error format problems found by checkpatch.pl:
ERROR: space required after that ',' (ctx:VxV)
+ fprintf(stderr,"%s attributes=0x%02x begin=%u size=%d\n",
^
ERROR: line over 90 characters
+ fprintf(stderr, "%d, %s (%u, %d)\n", i, commit->path ? commit->path : "(null)", commit->param.rename.cluster, commit->action);
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Alex Chen <alex.chen@huawei.com>
Message-Id: <5FA12620.6030705@huawei.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions