Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-localcount]: src/sys/dev/pad Good grief - what was I thinking?
details: https://anonhg.NetBSD.org/src/rev/4a8dd3e71220
branches: pgoyette-localcount
changeset: 852816:4a8dd3e71220
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Jul 18 11:25:07 2016 +0000
description:
Good grief - what was I thinking?
Let's make the d_localcount pointer point to a 'struct localcount' as
intended.
diffstat:
sys/dev/pad/pad.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 42d5ba3fe104 -r 4a8dd3e71220 sys/dev/pad/pad.c
--- a/sys/dev/pad/pad.c Mon Jul 18 11:13:23 2016 +0000
+++ b/sys/dev/pad/pad.c Mon Jul 18 11:25:07 2016 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 @@
.d_kqfilter = nokqfilter,
.d_discard = nodiscard,
#ifdef _MODULE
- .d_localcount = &pad_cdevsw,
+ .d_localcount = &pad_localcount,
#endif
.d_flag = D_OTHER | D_MPSAFE,
};
Home |
Main Index |
Thread Index |
Old Index