aboutsummaryrefslogtreecommitdiff
path: root/src/sg_modes.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2013-02-28 19:43:38 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2013-02-28 19:43:38 +0000
commita8c0624e3b1afc56ed907b622e6e9f06d167760b (patch)
tree8b95d3c0b2e82128c6aa75567baf6bf1fdfc6346 /src/sg_modes.c
parent296bd3f7b07dbc0f648145303b82dba896499da6 (diff)
downloadsg3_utils-a8c0624e3b1afc56ed907b622e6e9f06d167760b.tar.gz
more UA exposure via noisy argument; doco
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@485 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_modes.c')
-rw-r--r--src/sg_modes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sg_modes.c b/src/sg_modes.c
index 26dd820d..e69bb4ac 100644
--- a/src/sg_modes.c
+++ b/src/sg_modes.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000-2012 D. Gilbert
+ * Copyright (C) 2000-2013 D. Gilbert
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
@@ -25,7 +25,7 @@
#include "sg_lib.h"
#include "sg_cmds_basic.h"
-static char * version_str = "1.39 20120920";
+static char * version_str = "1.40 20130228";
#define DEF_ALLOC_LEN (1024 * 4)
#define DEF_6_ALLOC_LEN 252
@@ -866,7 +866,7 @@ examine_pages(int sg_fd, int inq_pdt, int inq_byte6,
for (header = 0, k = 0; k < PG_CODE_MAX; ++k) {
if (optsp->do_six) {
res = sg_ll_mode_sense6(sg_fd, 0, 0, k, 0, rbuf, mresp_len,
- 0, optsp->do_verbose);
+ 1, optsp->do_verbose);
if (SG_LIB_CAT_INVALID_OP == res) {
fprintf(stderr, ">>>>>> try again without the '-6' "
"switch for a 10 byte MODE SENSE command\n");