Module Name: src
Committed By: jakllsch
Date: Mon Feb 7 03:14:28 UTC 2011
Modified Files:
src/sys/dev/pud: pud.c
Log Message:
Third argument of MODULE() is typically a string literal.
Moreover it (at least sometimes) didn't build otherwise.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pud/pud.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/pud/pud.c
diff -u src/sys/dev/pud/pud.c:1.9 src/sys/dev/pud/pud.c:1.10
--- src/sys/dev/pud/pud.c:1.9 Fri Jan 28 23:54:28 2011
+++ src/sys/dev/pud/pud.c Mon Feb 7 03:14:28 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pud.c,v 1.9 2011/01/28 23:54:28 haad Exp $ */
+/* $NetBSD: pud.c,v 1.10 2011/02/07 03:14:28 jakllsch Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pud.c,v 1.9 2011/01/28 23:54:28 haad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pud.c,v 1.10 2011/02/07 03:14:28 jakllsch Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -383,7 +383,7 @@
mutex_init(&pud_mtx, MUTEX_DEFAULT, IPL_NONE);
}
-MODULE(MODULE_CLASS_DRIVER, pud, putter);
+MODULE(MODULE_CLASS_DRIVER, pud, "putter");
static int
pud_modcmd(modcmd_t cmd, void *arg)