summaryrefslogtreecommitdiff
path: root/audio/rioutil/patches/patch-aa
blob: 53f66f9cc9ba1b558627f3ccec3eadcdf86ec54e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.4 2007/01/06 04:21:24 schmonz Exp $

--- src/main.c.orig	2006-08-08 12:23:08.000000000 -0400
+++ src/main.c
@@ -730,10 +730,10 @@ static void usage (void) {
   printf("  -d, --delete=<int>     delete a track(s)\n\n");
 
   printf(" options:\n");
-#if !defined(__FreeBSD__) || !defined(__NetBSD__)
-  printf("  -o, --device=<int>     minor number of rio (assigned by driver), /dev/usb/rio?\n");
-#else
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
   printf("  -o, --device=<int>     minor number of rio (assigned by driver), /dev/urio?\n");
+#else
+  printf("  -o, --device=<int>     minor number of rio (assigned by driver), /dev/usb/rio?\n");
 #endif
   printf("  -k, --nocolor          supress ansi color\n");
   printf("  -m, --memory=<int>     memory unit to upload/download/delete/format to/from\n");