From 80e4821eaa252aeda81b176255b39134378979b5 Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Sun, 24 Nov 2019 09:17:08 +0000 Subject: sysutils/bsdisks: Update to 0.10. --- sysutils/bsdisks/files/patch-camcontrol.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 sysutils/bsdisks/files/patch-camcontrol.c (limited to 'sysutils/bsdisks/files/patch-camcontrol.c') 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) -- cgit v1.2.3