summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authortkusumi <tkusumi@NetBSD.org>2019-12-14 14:43:38 +0000
committertkusumi <tkusumi@NetBSD.org>2019-12-14 14:43:38 +0000
commit2486f7730b62c08bd80ca07c09f6af74177fb2b4 (patch)
tree8986257dc25d5247d105086f6780c3fb1825dad0 /sys/dev
parent0d89ad9adc21c6a64e1699954e6b42259b7a24c1 (diff)
dm: Make dm_dbg_print_flags() take uint32_t flag
which comes from prop_dictionary_get_uint32() result. taken-from: DragonFlyBSD
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/dm/dm_ioctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/dm/dm_ioctl.c b/sys/dev/dm/dm_ioctl.c
index 4df55442ff9..3e4e154a77f 100644
--- a/sys/dev/dm/dm_ioctl.c
+++ b/sys/dev/dm/dm_ioctl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_ioctl.c,v 1.42 2019/12/14 11:20:51 tkusumi Exp $ */
+/* $NetBSD: dm_ioctl.c,v 1.43 2019/12/14 14:43:38 tkusumi Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_ioctl.c,v 1.42 2019/12/14 11:20:51 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_ioctl.c,v 1.43 2019/12/14 14:43:38 tkusumi Exp $");
/*
* Locking is used to synchronise between ioctl calls and between dm_table's
@@ -116,14 +116,14 @@ static struct cfdata dm_cfdata = {
prop_dictionary_set_uint32(dm_dict,DM_IOCTL_FLAGS,flag); \
} while (/*CONSTCOND*/0)
-static int dm_dbg_print_flags(int);
+static int dm_dbg_print_flags(uint32_t);
static int dm_table_init(dm_target_t *, dm_table_entry_t *, char *);
/*
* Print flags sent to the kernel from libevmapper.
*/
static int
-dm_dbg_print_flags(int flags)
+dm_dbg_print_flags(uint32_t flags)
{
aprint_debug("dbg_print --- %d\n", flags);