summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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