Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libutil Arghhh! Typo.



details:   https://anonhg.NetBSD.org/src/rev/69859dfe0971
branches:  trunk
changeset: 789135:69859dfe0971
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Aug 08 05:10:07 2013 +0000

description:
Arghhh!  Typo.

diffstat:

 tests/lib/libutil/t_snprintb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 85e88b6d1a54 -r 69859dfe0971 tests/lib/libutil/t_snprintb.c
--- a/tests/lib/libutil/t_snprintb.c    Thu Aug 08 04:52:10 2013 +0000
+++ b/tests/lib/libutil/t_snprintb.c    Thu Aug 08 05:10:07 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_snprintb.c,v 1.2 2013/08/08 04:52:10 pgoyette Exp $ */
+/* $NetBSD: t_snprintb.c,v 1.3 2013/08/08 05:10:07 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2002, 2004, 2008, 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2008, 2010\
  The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: t_snprintb.c,v 1.2 2013/08/08 04:52:10 pgoyette Exp $");
+__RCSID("$NetBSD: t_snprintb.c,v 1.3 2013/08/08 05:10:07 pgoyette Exp $");
 
 #include <string.h>
 #include <util.h>
@@ -75,7 +75,7 @@
 
        len = snprintb_m(buf, sizeof(buf), fmt, val, line_max);
 
-       ATF_REQUIRE_EQG(len, res_len);
+       ATF_REQUIRE_EQ(len, res_len);
        ATF_REQUIRE_EQ(0, memcmp(res, buf, res_len + 1));
 }
 



Home | Main Index | Thread Index | Old Index