aboutsummaryrefslogtreecommitdiff
path: root/src/sg_prevent.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2017-09-18 19:15:01 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2017-09-18 19:15:01 +0000
commit3c285acb6d8f2bf346f50ee4e3ebe878e07e2c33 (patch)
tree645885630ab780e2371bc219ba9ee843f18c421b /src/sg_prevent.c
parent3e3bb389c5718f595a07cd0a51ccd0162713f44f (diff)
downloadsg3_utils-3c285acb6d8f2bf346f50ee4e3ebe878e07e2c33.tar.gz
https://github.com/hreinecke/sg3_utils branch sles15 synced 20170914; change sg_ll_*() function's 'int noisy' to bool
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@715 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_prevent.c')
-rw-r--r--src/sg_prevent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sg_prevent.c b/src/sg_prevent.c
index 1771cad2..29184d99 100644
--- a/src/sg_prevent.c
+++ b/src/sg_prevent.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004-2015 Douglas Gilbert.
+ * Copyright (c) 2004-2017 Douglas Gilbert.
* All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the BSD_LICENSE file.
@@ -25,7 +25,7 @@
* given SCSI device.
*/
-static const char * version_str = "1.08 20151219";
+static const char * version_str = "1.09 20170917";
#define ME "sg_prevent: "
@@ -136,7 +136,7 @@ int main(int argc, char * argv[])
safe_strerror(-sg_fd));
return SG_LIB_FILE_ERROR;
}
- res = sg_ll_prevent_allow(sg_fd, prevent, 1, verbose);
+ res = sg_ll_prevent_allow(sg_fd, prevent, true, verbose);
ret = res;
if (res) {
char b[80];