]> xenbits.xensource.com Git - people/dstodden/blktap.git/commitdiff
CA-28285: fix prior cset 413:61009e9850e9
authorDaniel Stodden <daniel.stodden@citrix.com>
Wed, 6 May 2009 18:05:32 +0000 (11:05 -0700)
committerDaniel Stodden <daniel.stodden@citrix.com>
Wed, 6 May 2009 18:05:32 +0000 (11:05 -0700)
drivers/block-vhd.c

index 77bff7fc2c51e662843d2c870facddc9da89b35b..e8004df3a4fe5da24ea1b7125ab4b25faed61257 100644 (file)
@@ -599,7 +599,7 @@ __vhd_open(td_driver_t *driver, const char *name, vhd_flag_t flags)
        o_flags = ((test_vhd_flag(flags, VHD_FLAG_OPEN_RDONLY)) ? 
                   VHD_OPEN_RDONLY : VHD_OPEN_RDWR);
 
-       if test_vhd_flag(flags, VHD_FLAG_OPEN_STRICT)
+       if (test_vhd_flag(flags, VHD_FLAG_OPEN_STRICT))
                set_vhd_flag(o_flags, VHD_OPEN_STRICT);
 
        err = vhd_open(&s->vhd, name, o_flags);