Browse files

foo

  • Loading branch information...
1 parent 9ade189 commit 78c419b7ab227305997f1e8e4c656f83977d5a5f @tjko committed Jan 12, 2001
Showing with 4 additions and 3 deletions.
  1. +1 −1 readiso.c
  2. +3 −2 scsi_linux.c
View
2 readiso.c
@@ -617,7 +617,7 @@ int main(int argc, char **argv)
if (drive_block_size != init_bsize) {
mode_select(init_bsize,(dump_mode==2?0x82:0x00));
drive_block_size=get_block_size();
- if (drive_block_size!=init_bsize) die("cannot set drive block size.");
+ if (drive_block_size!=init_bsize) warn("cannot set drive block size.");
}
start_stop(1);
View
5 scsi_linux.c
@@ -11,13 +11,14 @@
#include "config.h"
#include <linux/version.h>
-#include <scsi/scsi.h>
-#include <scsi/sg.h>
#include <stdio.h>
#include <unistd.h>
#include <stdarg.h>
#include <fcntl.h>
#include <errno.h>
+#include <scsi/scsi.h>
+#include <scsi/scsi_ioctl.h>
+#include <scsi/sg.h>
#include "readiso.h"

0 comments on commit 78c419b

Please sign in to comment.