Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Use devmajor_t not int
details: https://anonhg.NetBSD.org/src/rev/16ea84038c2a
branches: trunk
changeset: 332671:16ea84038c2a
user: justin <justin%NetBSD.org@localhost>
date: Thu Oct 02 22:05:38 2014 +0000
description:
Use devmajor_t not int
diffstat:
sys/dev/fss.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r e2f17c98d94c -r 16ea84038c2a sys/dev/fss.c
--- a/sys/dev/fss.c Thu Oct 02 21:58:16 2014 +0000
+++ b/sys/dev/fss.c Thu Oct 02 22:05:38 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fss.c,v 1.91 2014/07/25 08:10:35 dholland Exp $ */
+/* $NetBSD: fss.c,v 1.92 2014/10/02 22:05:38 justin Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.91 2014/07/25 08:10:35 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.92 2014/10/02 22:05:38 justin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1293,7 +1293,8 @@
static int
fss_modcmd(modcmd_t cmd, void *arg)
{
- int bmajor = -1, cmajor = -1, error = 0;
+ devmajor_t bmajor = -1, cmajor = -1;
+ int error = 0;
switch (cmd) {
case MODULE_CMD_INIT:
Home |
Main Index |
Thread Index |
Old Index