summaryrefslogtreecommitdiff
path: root/sysutils/bsdisks/files/patch-camcontrol.c
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2019-11-24 09:17:08 +0000
committerGleb Popov <arrowd@FreeBSD.org>2019-11-24 09:17:08 +0000
commit80e4821eaa252aeda81b176255b39134378979b5 (patch)
tree01631c70ac57624a18f2cd0e611019ce2a9c0225 /sysutils/bsdisks/files/patch-camcontrol.c
parentBump devel/py-sip (diff)
sysutils/bsdisks: Update to 0.10.
Notes
Notes: svn path=/head/; revision=518304
Diffstat (limited to 'sysutils/bsdisks/files/patch-camcontrol.c')
-rw-r--r--sysutils/bsdisks/files/patch-camcontrol.c16
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)