diff options
author | matthew <> | 2014-07-11 01:10:35 +0000 |
---|---|---|
committer | matthew <> | 2014-07-11 01:10:35 +0000 |
commit | b3aef8f1594a3fa2decce201c254bc714ada3c2b (patch) | |
tree | 5ee86db57c2b9a7ec90801d1e640518fab34c542 | |
parent | 0edafc21e5a0226078d996162aaab2e0b91b8a0e (diff) | |
download | openbsd-b3aef8f1594a3fa2decce201c254bc714ada3c2b.tar.gz openbsd-b3aef8f1594a3fa2decce201c254bc714ada3c2b.tar.bz2 openbsd-b3aef8f1594a3fa2decce201c254bc714ada3c2b.zip |
Fix dumb copy/paste mistake.
Noticed testing with clang.
-rw-r--r-- | src/regress/lib/libc/explicit_bzero/explicit_bzero.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libc/explicit_bzero/explicit_bzero.c b/src/regress/lib/libc/explicit_bzero/explicit_bzero.c index c2b677ca6a..34c60baa8a 100644 --- a/src/regress/lib/libc/explicit_bzero/explicit_bzero.c +++ b/src/regress/lib/libc/explicit_bzero/explicit_bzero.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: explicit_bzero.c,v 1.5 2014/07/11 00:38:17 matthew Exp $ */ | 1 | /* $OpenBSD: explicit_bzero.c,v 1.6 2014/07/11 01:10:35 matthew Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Google Inc. | 3 | * Copyright (c) 2014 Google Inc. |
4 | * | 4 | * |
@@ -156,8 +156,8 @@ do_test_without_bzero(int signo) | |||
156 | static void | 156 | static void |
157 | do_test_with_bzero(int signo) | 157 | do_test_with_bzero(int signo) |
158 | { | 158 | { |
159 | char *buf = test_without_bzero(); | 159 | char *buf = test_with_bzero(); |
160 | ASSERT_GE(count_secrets(buf), 0); | 160 | ASSERT_EQ(count_secrets(buf), 0); |
161 | } | 161 | } |
162 | 162 | ||
163 | int | 163 | int |