Module Name: src Committed By: gson Date: Tue Apr 10 13:45:08 UTC 2012
Modified Files: src/sys/rump/dev/lib/libdrvctl: component.c src/sys/rump/dev/lib/libmd: component.c Log Message: Fix cut-and-paste-os in panic messages To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libdrvctl/component.c cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libmd/component.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/rump/dev/lib/libdrvctl/component.c diff -u src/sys/rump/dev/lib/libdrvctl/component.c:1.1 src/sys/rump/dev/lib/libdrvctl/component.c:1.2 --- src/sys/rump/dev/lib/libdrvctl/component.c:1.1 Tue Dec 7 21:38:07 2010 +++ src/sys/rump/dev/lib/libdrvctl/component.c Tue Apr 10 13:45:07 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: component.c,v 1.1 2010/12/07 21:38:07 pooka Exp $ */ +/* $NetBSD: component.c,v 1.2 2012/04/10 13:45:07 gson Exp $ */ /* * Copyright (c) 2010 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.1 2010/12/07 21:38:07 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.2 2012/04/10 13:45:07 gson Exp $"); #include <sys/param.h> #include <sys/conf.h> @@ -51,5 +51,5 @@ RUMP_COMPONENT(RUMP_COMPONENT_DEV) bmaj = cmaj = NODEVMAJOR; if ((error = devsw_attach("drvctl", NULL, &bmaj, &drvctl_cdevsw, &cmaj)) != 0) - panic("audio devsw attach failed: %d", error); + panic("drvctl devsw attach failed: %d", error); } Index: src/sys/rump/dev/lib/libmd/component.c diff -u src/sys/rump/dev/lib/libmd/component.c:1.1 src/sys/rump/dev/lib/libmd/component.c:1.2 --- src/sys/rump/dev/lib/libmd/component.c:1.1 Mon Nov 22 21:20:32 2010 +++ src/sys/rump/dev/lib/libmd/component.c Tue Apr 10 13:45:08 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: component.c,v 1.1 2010/11/22 21:20:32 pooka Exp $ */ +/* $NetBSD: component.c,v 1.2 2012/04/10 13:45:08 gson Exp $ */ /* * Copyright (c) 2010 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.1 2010/11/22 21:20:32 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.2 2012/04/10 13:45:08 gson Exp $"); #include <sys/param.h> #include <sys/conf.h> @@ -55,7 +55,7 @@ RUMP_COMPONENT(RUMP_COMPONENT_DEV) bmaj = cmaj = NODEVMAJOR; if ((error = devsw_attach("md", &md_bdevsw, &bmaj, &md_cdevsw, &cmaj)) != 0) - panic("audio devsw attach failed: %d", error); + panic("md devsw attach failed: %d", error); rump_pdev_add(mdattach, 0); }