From 3c285acb6d8f2bf346f50ee4e3ebe878e07e2c33 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Mon, 18 Sep 2017 19:15:01 +0000 Subject: 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 --- src/sg_prevent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sg_prevent.c') 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]; -- cgit v1.2.3