aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-08-19 19:48:59 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-09-01 17:00:27 +0200
commit05432945bb53009d63d99c0c079e753eecb34bbc (patch)
tree727d83d0f7c13c6591509257edb2e7e2a1802984
parentd5b3467056856f6f85b81d0b5f4fb4c67da74642 (diff)
downloadpasst-05432945bb53009d63d99c0c079e753eecb34bbc.tar
passt-05432945bb53009d63d99c0c079e753eecb34bbc.tar.gz
passt-05432945bb53009d63d99c0c079e753eecb34bbc.tar.bz2
passt-05432945bb53009d63d99c0c079e753eecb34bbc.tar.lz
passt-05432945bb53009d63d99c0c079e753eecb34bbc.tar.xz
passt-05432945bb53009d63d99c0c079e753eecb34bbc.tar.zst
passt-05432945bb53009d63d99c0c079e753eecb34bbc.zip
qrap: Minor fixes in comments and usage message
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--qrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qrap.c b/qrap.c
index 8ca2192..698dc78 100644
--- a/qrap.c
+++ b/qrap.c
@@ -2,7 +2,7 @@
/* PASST - Plug A Simple Socket Transport
*
- * qrap.c - qemu wrapper connecting UNIX domain socket to socket file descriptor
+ * qrap.c - qemu wrapper connecting UNIX domain socket to file descriptor
*
* Copyright (c) 2020-2021 Red Hat GmbH
* Author: Stefano Brivio <sbrivio@redhat.com>
@@ -95,7 +95,7 @@ static const struct pci_dev {
*/
void usage(const char *name)
{
- fprintf(stderr, "Usage: %s [FDNUM QEMU_CMD] ...\n", name);
+ fprintf(stderr, "Usage: %s [FDNUM QEMU_CMD] [QEMU_ARG]...\n", name);
fprintf(stderr, "\n");
fprintf(stderr, "If first and second arguments aren't a socket number\n"
"and a path, %s will try to locate a qemu binary\n"