Module Name:    src
Committed By:   dyoung
Date:           Tue Apr  7 17:54:58 UTC 2009

Modified Files:
        src/sys/dev: midi.c

Log Message:
Cosmetic: in a debug statement, use "%s", __func__ instead of a
misspelling of the detach routine's name.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/dev/midi.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/dev/midi.c
diff -u src/sys/dev/midi.c:1.68 src/sys/dev/midi.c:1.69
--- src/sys/dev/midi.c:1.68	Thu Jun 12 22:29:41 2008
+++ src/sys/dev/midi.c	Tue Apr  7 17:54:58 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: midi.c,v 1.68 2008/06/12 22:29:41 cegger Exp $	*/
+/*	$NetBSD: midi.c,v 1.69 2009/04/07 17:54:58 dyoung Exp $	*/
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: midi.c,v 1.68 2008/06/12 22:29:41 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: midi.c,v 1.69 2009/04/07 17:54:58 dyoung Exp $");
 
 #include "midi.h"
 #include "sequencer.h"
@@ -191,7 +191,7 @@
 	struct midi_softc *sc = device_private(self);
 	int maj, mn;
 
-	DPRINTFN(2,("midi_detach: sc=%p flags=%d\n", sc, flags));
+	DPRINTFN(2,("%s: sc=%p flags=%d\n", __func__, sc, flags));
 
 	pmf_device_deregister(self);
 

Reply via email to