diff options
author | Alan Mikhak <alan.mikhak@sifive.com> | 2019-05-24 00:18:01 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-05-29 19:44:34 +0300 |
commit | 81cb4203a5fec7d3f8cf4f145e8e7077b2dcbc78 (patch) | |
tree | fc2e979ca34106cc9f804c7f350b38b64e512e7b /tools/pci | |
parent | 8a5e0af240e07dd3d4897eb8ff52aab757da7fab (diff) | |
download | linux-81cb4203a5fec7d3f8cf4f145e8e7077b2dcbc78.tar.xz |
tools: PCI: Fix compiler warning in pcitest
Fix the following compiler warning in pcitest:
pcitest.c: In function main:
pcitest.c:214:4: warning: too many arguments for
format [-Wformat-extra-args]
"usage: %s [options]\n"
Fixes: fbca0b284bd0 ("tools: PCI: Add 'h' in optstring of getopt()")
Signed-off-by: Alan Mikhak <alan.mikhak@sifive.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'tools/pci')
-rw-r--r-- | tools/pci/pcitest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pci/pcitest.c b/tools/pci/pcitest.c index 6dce894667f6..6f1303104d84 100644 --- a/tools/pci/pcitest.c +++ b/tools/pci/pcitest.c @@ -223,7 +223,7 @@ usage: "\t-r Read buffer test\n" "\t-w Write buffer test\n" "\t-c Copy buffer test\n" - "\t-s <size> Size of buffer {default: 100KB}\n", + "\t-s <size> Size of buffer {default: 100KB}\n" "\t-h Print this help message\n", argv[0]); return -EINVAL; |