summaryrefslogtreecommitdiff
path: root/audio/dagrab/files/patch-ab
blob: 4bb9fc84dc44db4b84f316ed870feda66e51bd62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
*** dagrab.c-fbsd	Sat Nov 13 12:29:44 1999
--- dagrab.c	Sat Nov 13 23:00:20 1999
***************
*** 503,509 ****
  	struct ioc_toc_header Th;
  	struct ioc_read_toc_single_entry Te;
  
! 	if ((cdrom_fd=open(cd_dev,O_RDONLY|O_NONBLOCK))==-1){
  		fprintf(stderr,"%s: error opening device %s\n",progname,cd_dev);
  		exit(1);
  	}
--- 503,509 ----
  	struct ioc_toc_header Th;
  	struct ioc_read_toc_single_entry Te;
  
! 	if ((cdrom_fd=open(cd_dev,O_RDONLY))==-1){
  		fprintf(stderr,"%s: error opening device %s\n",progname,cd_dev);
  		exit(1);
  	}