Module Name:    src
Committed By:   joerg
Date:           Tue May 24 15:23:42 UTC 2011

Modified Files:
        src/sys/dev/dm: dm_ioctl.c

Log Message:
Fix logic error


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/dm/dm_ioctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/dm/dm_ioctl.c
diff -u src/sys/dev/dm/dm_ioctl.c:1.24 src/sys/dev/dm/dm_ioctl.c:1.25
--- src/sys/dev/dm/dm_ioctl.c:1.24	Mon Dec  6 09:03:40 2010
+++ src/sys/dev/dm/dm_ioctl.c	Tue May 24 15:23:41 2011
@@ -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);
 

Reply via email to