Fix typo
authorAndrew Bartlett <abartlet@samba.org>
Thu, 17 Apr 2008 14:44:55 +0000 (16:44 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 17 Apr 2008 14:44:55 +0000 (16:44 +0200)
(This used to be commit ba6546504505f19abaa5aa35fe3e469ddfd3d619)

source4/lib/registry/tests/registry.c

index 7fad2197527df1e17a4925d5cfbda5be6321c384..85b68ac8a23c0b9079b62ccd35868693c6d0d98f 100644 (file)
@@ -493,7 +493,7 @@ static bool test_list_values(struct torture_context *tctx, void *_data)
                return false;
 
        error = reg_val_set(subkey, "bar", REG_DWORD,
-                           data_blob_talloc(tctx, value, sizeof(val)));
+                           data_blob_talloc(tctx, value, sizeof(value)));
        torture_assert_werr_ok (tctx, error, "setting value");
 
        error = reg_key_get_value_by_index(tctx, subkey, 0, &name,