qrap: Minor fixes in comments and usage message

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-08-19 19:48:59 +02:00
parent d5b3467056
commit 05432945bb

4
qrap.c
View file

@ -2,7 +2,7 @@
/* PASST - Plug A Simple Socket Transport /* 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 * Copyright (c) 2020-2021 Red Hat GmbH
* Author: Stefano Brivio <sbrivio@redhat.com> * Author: Stefano Brivio <sbrivio@redhat.com>
@ -95,7 +95,7 @@ static const struct pci_dev {
*/ */
void usage(const char *name) 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, "\n");
fprintf(stderr, "If first and second arguments aren't a socket number\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" "and a path, %s will try to locate a qemu binary\n"