summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatthew <>2014-07-11 01:10:35 +0000
committermatthew <>2014-07-11 01:10:35 +0000
commitb3aef8f1594a3fa2decce201c254bc714ada3c2b (patch)
tree5ee86db57c2b9a7ec90801d1e640518fab34c542
parent0edafc21e5a0226078d996162aaab2e0b91b8a0e (diff)
downloadopenbsd-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.c6
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)
156static void 156static void
157do_test_with_bzero(int signo) 157do_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
163int 163int