Module Name:    src
Committed By:   christos
Date:           Mon Nov  4 21:59:15 UTC 2013

Modified Files:
        src/sys/arch/zaurus/stand/zboot: unixdev.c

Log Message:
fix unused variables


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/zaurus/stand/zboot/unixdev.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/zaurus/stand/zboot/unixdev.c
diff -u src/sys/arch/zaurus/stand/zboot/unixdev.c:1.3 src/sys/arch/zaurus/stand/zboot/unixdev.c:1.4
--- src/sys/arch/zaurus/stand/zboot/unixdev.c:1.3	Wed Jan 18 18:12:21 2012
+++ src/sys/arch/zaurus/stand/zboot/unixdev.c	Mon Nov  4 16:59:15 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: unixdev.c,v 1.3 2012/01/18 23:12:21 nonaka Exp $	*/
+/*	$NetBSD: unixdev.c,v 1.4 2013/11/04 21:59:15 christos Exp $	*/
 /*	$OpenBSD: unixdev.c,v 1.6 2007/06/16 00:26:33 deraadt Exp $	*/
 
 /*
@@ -86,6 +86,8 @@ unixopen(struct open_file *f, ...)
 #ifdef UNIX_DEBUG
 	printf("%s: devname=%s, unit=%d, partition=%d, fname=%s\n",
 	    __func__, devname, unit, partition, fname);
+#else
+	__USE(fname);
 #endif
 
 	f->f_devdata = NULL;
@@ -146,6 +148,8 @@ unixpathopen(struct open_file *f, ...)
 #ifdef UNIX_DEBUG
 	printf("%s: devname=%s, unit=%d, partition=%d, fname=%s\n",
 	    __func__, devname, unit, partition, fname);
+#else
+	__USE(devname); __USE(partition); __USE(unit);
 #endif
 
 	if (fname == NULL || fname[0] == '\0')

Reply via email to