diff options
author | Aurelien Aptel <aaptel@suse.com> | 2016-03-04 09:29:48 +0100 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2016-03-04 18:08:21 +0100 |
commit | a6593cfb674cdb818c3487e984516d8f2fea1d88 (patch) | |
tree | 288aca2b61cd0dddf9d0e58a26207941f05f4271 /source4/torture/libnetapi | |
parent | f5b6a5b13406c245ab9cc8c1699483af9eb21f88 (diff) | |
download | samba-a6593cfb674cdb818c3487e984516d8f2fea1d88.tar.gz |
s4/torture/libnetapi/libnetapi_user.c: fix typo
fixed misplaced parenthesis and wrong sizeof().
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: David Disseldorf <ddis@suse.de>
Diffstat (limited to 'source4/torture/libnetapi')
-rw-r--r-- | source4/torture/libnetapi/libnetapi_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/libnetapi/libnetapi_user.c b/source4/torture/libnetapi/libnetapi_user.c index 2afc1e59169..e925725e5f0 100644 --- a/source4/torture/libnetapi/libnetapi_user.c +++ b/source4/torture/libnetapi/libnetapi_user.c @@ -249,7 +249,7 @@ static NET_API_STATUS test_netusermodals(struct torture_context *tctx, return status; } - if (memcmp(u0, _u0, sizeof(u0) != 0)) { + if (memcmp(u0, _u0, sizeof(*u0)) != 0) { torture_comment(tctx, "USER_MODALS_INFO_0 struct has changed!!!!\n"); return -1; } |