~ubuntu-branches/ubuntu/wily/sg3-utils/wily

« back to all changes in this revision

Viewing changes to src/sg_decode_sense.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) 2010-2011 Douglas Gilbert.
 
2
 * Copyright (c) 2010-2013 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
#include "sg_lib.h"
26
26
 
27
27
 
28
 
static char * version_str = "1.03 20110524";
 
28
static const char * version_str = "1.04 20130507";
29
29
 
30
30
#define MAX_SENSE_LEN 1024 /* max descriptor format actually: 256+8 */
31
31
 
326
326
                n = 0;
327
327
            }
328
328
        }
329
 
        if (n > 0) { 
 
329
        if (n > 0) {
330
330
            b[n] = '\n';
331
331
            s = fwrite(b, 1, n + 1, fp);
332
332
        }