Module Name: src
Committed By: pgoyette
Date: Mon Jul 18 11:25:07 UTC 2016
Modified Files:
src/sys/dev/pad [pgoyette-localcount]: pad.c
Log Message:
Good grief - what was I thinking?
Let's make the d_localcount pointer point to a 'struct localcount' as
intended.
To generate a diff of this commit:
cvs rdiff -u -r1.25.2.1 -r1.25.2.2 src/sys/dev/pad/pad.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/pad/pad.c
diff -u src/sys/dev/pad/pad.c:1.25.2.1 src/sys/dev/pad/pad.c:1.25.2.2
--- src/sys/dev/pad/pad.c:1.25.2.1 Mon Jul 18 11:12:11 2016
+++ src/sys/dev/pad/pad.c Mon Jul 18 11:25:07 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: pad.c,v 1.25.2.1 2016/07/18 11:12:11 pgoyette Exp $ */
+/* $NetBSD: pad.c,v 1.25.2.2 2016/07/18 11:25:07 pgoyette Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.25.2.1 2016/07/18 11:12:11 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.25.2.2 2016/07/18 11:25:07 pgoyette Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -147,7 +147,7 @@ const struct cdevsw pad_cdevsw = {
.d_kqfilter = nokqfilter,
.d_discard = nodiscard,
#ifdef _MODULE
- .d_localcount = &pad_cdevsw,
+ .d_localcount = &pad_localcount,
#endif
.d_flag = D_OTHER | D_MPSAFE,
};