diff options
Diffstat (limited to 'sysutils/bsdisks/files/patch-camcontrol.c')
-rw-r--r-- | sysutils/bsdisks/files/patch-camcontrol.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sysutils/bsdisks/files/patch-camcontrol.c b/sysutils/bsdisks/files/patch-camcontrol.c deleted file mode 100644 index 3cf169b0deaa..000000000000 --- a/sysutils/bsdisks/files/patch-camcontrol.c +++ /dev/null @@ -1,16 +0,0 @@ ---- camcontrol.c.orig 2019-09-08 10:38:26 UTC -+++ camcontrol.c -@@ -166,9 +166,11 @@ int cam_is_removable(const char* device_path) - int timeout = 0, retry_count = 1; - int unit = 0; - -- if (cam_get_device(device_path, name, sizeof name, &unit) -- == -1) -+ if (cam_get_device(device_path, name, sizeof name, &unit) == -1) -+ { - errx(1, "%s", cam_errbuf); -+ return (-1); -+ } - - if ((cam_dev = cam_open_spec_device(device,unit,O_RDWR,NULL)) - == NULL) |