summaryrefslogtreecommitdiff
path: root/filesystems/fuse-cddfs/patches/patch-ab
blob: 5b2dfe37a4bbe647dba0f9688c665b0bf2058e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ab,v 1.1 2007/02/26 15:15:34 pooka Exp $

--- cddfs.c.orig	2005-04-03 20:06:00.000000000 +0300
+++ cddfs.c	2007-02-26 17:13:33.000000000 +0200
@@ -287,7 +287,11 @@
 
 int main(int argc, char *argv[])
 {
+#ifdef __NetBSD__
+	char *device = "/dev/cd0d";
+#else
 	char *device = "/dev/cdrom";
+#endif
 	char c;
 	const char *optstring = "+D:m:h::";
 	opterr = 0;