summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-17 16:44:55 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-17 16:44:55 +0200
commitd0525ff0c2c9ae6d7e39c0fda1d4ab956763b585 (patch)
tree328d647a65bcb19ae33545c6fafe66d504b3c52d
parent8582063e9120932e598afbba00d0257e5e9a428f (diff)
downloadsamba-d0525ff0c2c9ae6d7e39c0fda1d4ab956763b585.tar.gz
samba-d0525ff0c2c9ae6d7e39c0fda1d4ab956763b585.tar.bz2
samba-d0525ff0c2c9ae6d7e39c0fda1d4ab956763b585.zip
Fix typo
(This used to be commit ba6546504505f19abaa5aa35fe3e469ddfd3d619)
-rw-r--r--source4/lib/registry/tests/registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tests/registry.c b/source4/lib/registry/tests/registry.c
index 7fad219752..85b68ac8a2 100644
--- a/source4/lib/registry/tests/registry.c
+++ b/source4/lib/registry/tests/registry.c
@@ -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,