Displaying 2 results from an estimated 2 matches for "132d6cb".
2019 Aug 06
5
[PATCH libnbd 0/3] One API and small documentation changes.
One API change, some small documentation changes.
2019 Aug 06
0
[PATCH libnbd 1/3] api: Change nbd_read_only -> nbd_is_read_only.
...gv[])
exit (EXIT_FAILURE);
}
- if (nbd_read_only (nbd) == 1) {
+ if (nbd_is_read_only (nbd) == 1) {
fprintf (stderr, "%s: error: this NBD export is read-only\n", argv[0]);
exit (EXIT_FAILURE);
}
diff --git a/generator/generator b/generator/generator
index 7328438..132d6cb 100755
--- a/generator/generator
+++ b/generator/generator
@@ -1231,7 +1231,7 @@ behave like inetd clients, such as C<nbdkit --single>.
See also C<nbd_kill_command>.";
};
- "read_only", {
+ "is_read_only", {
default_call with
args = []; ret = R...