Module Name: src
Committed By: pgoyette
Date: Thu Aug 8 05:10:07 UTC 2013
Modified Files:
src/tests/lib/libutil: t_snprintb.c
Log Message:
Arghhh! Typo.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libutil/t_snprintb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libutil/t_snprintb.c
diff -u src/tests/lib/libutil/t_snprintb.c:1.2 src/tests/lib/libutil/t_snprintb.c:1.3
--- src/tests/lib/libutil/t_snprintb.c:1.2 Thu Aug 8 04:52:10 2013
+++ src/tests/lib/libutil/t_snprintb.c Thu Aug 8 05:10:07 2013
@@ -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 @@ h_snprintb_m(const char *fmt, uint64_t v
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));
}