aboutsummaryrefslogtreecommitdiffstats
path: root/unload.c
diff options
context:
space:
mode:
authorkraxel <kraxel>2005-02-09 11:57:25 +0000
committerkraxel <kraxel>2005-02-09 11:57:25 +0000
commitb00ae68a83de451edb86a2bb3bbaa1a16021d199 (patch)
tree3a41d314ceb275bc467b6186d4a08fc079eb6884 /unload.c
parent65b4d6491a2fcd32efe5b0cacf137305af95b541 (diff)
downloadscsi-changer-b00ae68a83de451edb86a2bb3bbaa1a16021d199.tar.gz
- merge patch from Michael Riepe (specify device to use).
- fix some minor compiler warnings.
Diffstat (limited to 'unload.c')
-rw-r--r--unload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unload.c b/unload.c
index a1005c2..eb017fe 100644
--- a/unload.c
+++ b/unload.c
@@ -36,7 +36,7 @@ main(int argc, char *argv[])
if (-1 == (fd = open(device, O_RDONLY))) {
fprintf(stderr,"%s: can't open %s: %s\n",prog,device,
- sys_errlist[errno]);
+ strerror(errno));
exit(1);
}