summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_ioctl.c
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2011-05-24 15:23:41 +0000
committerjoerg <joerg@NetBSD.org>2011-05-24 15:23:41 +0000
commit67b346d1bdd61118b174920bbae8f7a2df56f6ea (patch)
tree0fd5ac2ad0b0d57c2b2b1f2a1b19fffeefd4c616 /sys/dev/dm/dm_ioctl.c
parent6f68620cb3d1528aa05aaf0d8959c519d1f5d264 (diff)
Fix logic error
Diffstat (limited to 'sys/dev/dm/dm_ioctl.c')
-rw-r--r--sys/dev/dm/dm_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/dm/dm_ioctl.c b/sys/dev/dm/dm_ioctl.c
index 450ceba064a..300af5b8ae6 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.24 2010/12/06 09:03:40 haad Exp $ */
+/* $NetBSD: dm_ioctl.c,v 1.25 2011/05/24 15:23:41 joerg Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -915,7 +915,7 @@ dm_table_status_ioctl(prop_dictionary_t dm_dict)
prop_dictionary_set_int32(target_dict, DM_TABLE_STAT,
dmv->table_head.cur_active_table);
- if (flags |= DM_STATUS_TABLE_FLAG) {
+ if (flags & DM_STATUS_TABLE_FLAG) {
params = table_en->target->status
(table_en->target_config);