diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2015-05-12 04:21:05 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2015-05-12 04:21:05 +0000 |
commit | 77c837a07783a4e63b7f4a85852f55a112b994e0 (patch) | |
tree | 59ea0b252047bccea1e04c5ceeed3ccec04465c5 /src/sg_raw.c | |
parent | f54b2fbd8e1cc79cf1bafe9516a4771f88be29a7 (diff) | |
download | sg3_utils-77c837a07783a4e63b7f4a85852f55a112b994e0.tar.gz |
sg_lib: Linux: ENXIO errno --> SG_LIB_CAT_NOT_READY; asc/ascq codes --> T10 20150423
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@644 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_raw.c')
-rw-r--r-- | src/sg_raw.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sg_raw.c b/src/sg_raw.c index 90d4fc50..510684fa 100644 --- a/src/sg_raw.c +++ b/src/sg_raw.c @@ -1,7 +1,7 @@ /* * A utility program originally written for the Linux OS SCSI subsystem. * - * Copyright (C) 2000-2014 Ingo van Lil <inguin@gmx.de> + * Copyright (C) 2000-2015 Ingo van Lil <inguin@gmx.de> * * 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 @@ -534,17 +534,17 @@ main(int argc, char *argv[]) break; case SCSI_PT_RESULT_TRANSPORT_ERR: get_scsi_pt_transport_err_str(ptvp, sizeof(b), b); - fprintf(sg_warnings_strm, ">>> transport error: %s\n", b); + fprintf(stderr, ">>> transport error: %s\n", b); ret = SG_LIB_CAT_OTHER; break; case SCSI_PT_RESULT_OS_ERR: get_scsi_pt_os_err_str(ptvp, sizeof(b), b); - fprintf(sg_warnings_strm, ">>> os error: %s\n", b); + fprintf(stderr, ">>> os error: %s\n", b); ret = SG_LIB_CAT_OTHER; break; default: - fprintf(sg_warnings_strm, ">>> unknown pass through result " - "category (%d)\n", res_cat); + fprintf(stderr, ">>> unknown pass through result category (%d)\n", + res_cat); ret = SG_LIB_CAT_OTHER; break; } |