~ubuntu-branches/debian/stretch/sg3-utils/stretch

« back to all changes in this revision

Viewing changes to src/sg_requests.c

  • Committer: Bazaar Package Importer
  • Author(s): Ritesh Raj Sarraf
  • Date: 2011-08-09 16:36:28 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20110809163628-yh8okvhe20j5rekq
Tags: 1.32-1
* [06cef8d] Use kfreebsd-any as the build-dep.
  Thanks to Robert Millan (Closes: 634362)
* [850586d] separate build-arch and build-indep targets
* [a432747] Drop duplicate changelog
* [ec2bbd8] Update Standards Version to 3.9.2. No changes required

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2004-2010 Douglas Gilbert.
 
2
 * Copyright (c) 2004-2011 Douglas Gilbert.
3
3
 * All rights reserved.
4
4
 * Use of this source code is governed by a BSD-style
5
5
 * license that can be found in the BSD_LICENSE file.
25
25
 * This program issues the SCSI command REQUEST SENSE to the given SCSI device.
26
26
 */
27
27
 
28
 
static char * version_str = "1.22 20100312";
 
28
static char * version_str = "1.22 20110614";
29
29
 
30
30
#define MAX_REQS_RESP_LEN 255
31
31
#define DEF_REQS_RESP_LEN 252
238
238
                }
239
239
                break;
240
240
            }
 
241
            /* "Additional sense length" same in descriptor and fixed */
241
242
            resp_len = requestSenseBuff[7] + 8;
242
243
            if (verbose > 1) {
243
244
                fprintf(stderr, "Parameter data in hex\n");