Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/dm Call prop_dictionary_get_uint32 with uint32_t
details: https://anonhg.NetBSD.org/src/rev/a3e826e93301
branches: trunk
changeset: 332667:a3e826e93301
user: justin <justin%NetBSD.org@localhost>
date: Thu Oct 02 21:29:44 2014 +0000
description:
Call prop_dictionary_get_uint32 with uint32_t
diffstat:
sys/dev/dm/dm_ioctl.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r e233cb420de0 -r a3e826e93301 sys/dev/dm/dm_ioctl.c
--- a/sys/dev/dm/dm_ioctl.c Thu Oct 02 21:27:41 2014 +0000
+++ b/sys/dev/dm/dm_ioctl.c Thu Oct 02 21:29:44 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_ioctl.c,v 1.28 2013/12/24 22:14:07 mlelstv Exp $ */
+/* $NetBSD: dm_ioctl.c,v 1.29 2014/10/02 21:29:44 justin Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -200,7 +200,8 @@
{
dm_dev_t *dmv;
const char *name, *uuid;
- int r, flags;
+ int r;
+ uint32_t flags;
device_t devt;
r = 0;
@@ -843,11 +844,10 @@
prop_array_t cmd_array;
prop_dictionary_t target_dict;
- uint32_t minor;
+ uint32_t minor, flags;
const char *name, *uuid;
char *params;
- int flags;
int table_type;
dmv = NULL;
@@ -952,7 +952,7 @@
dm_check_version(prop_dictionary_t dm_dict)
{
size_t i;
- int dm_version[3];
+ uint32_t dm_version[3];
prop_array_t ver;
ver = prop_dictionary_get(dm_dict, DM_IOCTL_VERSION);
Home |
Main Index |
Thread Index |
Old Index