On 12/30/18 12:09 PM, Richard W.M. Jones wrote:
> On FreeBSD 11.2:
>
> $ ./qemu-io -f raw -c "aio_write 0 512" "nbd:localhost:10809"
> Parsing error: non-numeric argument, or extraneous/unrecognized suffix --
> aio_write
>
> After main option parsing, we reinitialize optind so we can parse e
checkpatch says:
WARNING: architecture specific defines should be avoided
#60: FILE: qemu-io-cmds.c:117:
+#ifdef __GNU_LIBRARY__
However I don't know a better way to fix this.
Rich.
On FreeBSD 11.2:
$ ./qemu-io -f raw -c "aio_write 0 512" "nbd:localhost:10809"
Parsing error: non-numeric argument, or extraneous/unrecognized suffix --
aio_write
After main option parsing, we reinitialize optind so we can parse each
command. The error happens when parsing the aio_write com