From b3aef8f1594a3fa2decce201c254bc714ada3c2b Mon Sep 17 00:00:00 2001 From: matthew <> Date: Fri, 11 Jul 2014 01:10:35 +0000 Subject: Fix dumb copy/paste mistake. Noticed testing with clang. --- src/regress/lib/libc/explicit_bzero/explicit_bzero.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 @@ -/* $OpenBSD: explicit_bzero.c,v 1.5 2014/07/11 00:38:17 matthew Exp $ */ +/* $OpenBSD: explicit_bzero.c,v 1.6 2014/07/11 01:10:35 matthew Exp $ */ /* * Copyright (c) 2014 Google Inc. * @@ -156,8 +156,8 @@ do_test_without_bzero(int signo) static void do_test_with_bzero(int signo) { - char *buf = test_without_bzero(); - ASSERT_GE(count_secrets(buf), 0); + char *buf = test_with_bzero(); + ASSERT_EQ(count_secrets(buf), 0); } int -- cgit v1.2.3-55-g6feb