Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev devmajor_t not int
details: https://anonhg.NetBSD.org/src/rev/96da65126580
branches: trunk
changeset: 332665:96da65126580
user: justin <justin%NetBSD.org@localhost>
date: Thu Oct 02 21:01:38 2014 +0000
description:
devmajor_t not int
diffstat:
sys/dev/cgd.c | 6 +++---
sys/dev/dm/device-mapper.c | 5 +++--
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (46 lines):
diff -r 91640e724241 -r 96da65126580 sys/dev/cgd.c
--- a/sys/dev/cgd.c Thu Oct 02 19:15:21 2014 +0000
+++ b/sys/dev/cgd.c Thu Oct 02 21:01:38 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgd.c,v 1.90 2014/07/25 08:10:35 dholland Exp $ */
+/* $NetBSD: cgd.c,v 1.91 2014/10/02 21:01:38 justin Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.90 2014/07/25 08:10:35 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.91 2014/10/02 21:01:38 justin Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -1006,7 +1006,7 @@
int error = 0;
#ifdef _MODULE
- int bmajor = -1, cmajor = -1;
+ devmajor_t bmajor = -1, cmajor = -1;
#endif
switch (cmd) {
diff -r 91640e724241 -r 96da65126580 sys/dev/dm/device-mapper.c
--- a/sys/dev/dm/device-mapper.c Thu Oct 02 19:15:21 2014 +0000
+++ b/sys/dev/dm/device-mapper.c Thu Oct 02 21:01:38 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: device-mapper.c,v 1.34 2014/07/25 08:10:36 dholland Exp $ */
+/* $NetBSD: device-mapper.c,v 1.35 2014/10/02 21:01:38 justin Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -156,7 +156,8 @@
dm_modcmd(modcmd_t cmd, void *arg)
{
#ifdef _MODULE
- int error, bmajor, cmajor;
+ int error;
+ devmajor_t bmajor, cmajor;
error = 0;
bmajor = -1;
Home |
Main Index |
Thread Index |
Old Index