~ubuntu-branches/ubuntu/vivid/sg3-utils/vivid-proposed

« back to all changes in this revision

Viewing changes to src/sg_safte.c

  • Committer: Package Import Robot
  • Author(s): Ritesh Raj Sarraf
  • Date: 2013-06-23 16:08:01 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20130623160801-7rt7zb2dwk0ba7ut
Tags: 1.36-1
* [69e9dac] Imported Upstream version 1.36
* [cb75936] Add debian compat, level 7
* [68fed25] update README.source
* [3c724fc] Add build-dep autotools-dev
* [e4b9fdd] add destdir to install path
* [7cfff11] Simplify build with debhelper
* [f9a7540] Update symbols for 1.36 release
* [7b0b48d] Enable hardening build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2004-2010 Hannes Reinecke and Douglas Gilbert.
 
2
 * Copyright (c) 2004-2013 Hannes Reinecke and 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.
26
26
 *  to the 'SCSI Accessed Fault-Tolerant Enclosures' (SAF-TE) spec.
27
27
 */
28
28
 
29
 
static char * version_str = "0.24 20100312";
30
 
 
31
 
 
32
 
#define SENSE_BUFF_LEN 32       /* Arbitrary, could be larger */
 
29
static const char * version_str = "0.24 20130507";
 
30
 
 
31
 
 
32
#define SENSE_BUFF_LEN 64       /* Arbitrary, could be larger */
33
33
#define DEF_TIMEOUT 60000       /* 60,000 millisecs == 60 seconds */
34
34
#define EBUFF_SZ 256
35
35