Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/dm Fix logic error



details:   https://anonhg.NetBSD.org/src/rev/cb1d36bd83fb
branches:  trunk
changeset: 765354:cb1d36bd83fb
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue May 24 15:23:41 2011 +0000

description:
Fix logic error

diffstat:

 sys/dev/dm/dm_ioctl.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 295d7644c49c -r cb1d36bd83fb sys/dev/dm/dm_ioctl.c
--- a/sys/dev/dm/dm_ioctl.c     Tue May 24 15:20:37 2011 +0000
+++ b/sys/dev/dm/dm_ioctl.c     Tue May 24 15:23:41 2011 +0000
@@ -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 @@
                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);
 



Home | Main Index | Thread Index | Old Index