Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/librt Fix typo.



details:   https://anonhg.NetBSD.org/src/rev/b3926241f9c8
branches:  trunk
changeset: 763561:b3926241f9c8
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Fri Mar 25 09:39:19 2011 +0000

description:
Fix typo.

diffstat:

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

diffs (27 lines):

diff -r 0717a226f3e6 -r b3926241f9c8 tests/lib/librt/t_sched.c
--- a/tests/lib/librt/t_sched.c Fri Mar 25 09:34:02 2011 +0000
+++ b/tests/lib/librt/t_sched.c Fri Mar 25 09:39:19 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_sched.c,v 1.1 2011/03/25 09:34:02 jruoho Exp $ */
+/* $NetBSD: t_sched.c,v 1.2 2011/03/25 09:39:19 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_sched.c,v 1.1 2011/03/25 09:34:02 jruoho Exp $");
+__RCSID("$NetBSD: t_sched.c,v 1.2 2011/03/25 09:39:19 jruoho Exp $");
 
 #include <sched.h>
 #include <limits.h>
@@ -223,7 +223,7 @@
        sched_priority_set(pri, SCHED_RR);
 
        tv1.tv_sec = tv2.tv_sec = -1;
-       tv1.tv_nsec = tv2.tv_nsec -1;
+       tv1.tv_nsec = tv2.tv_nsec = -1;
 
        ATF_REQUIRE(sched_rr_get_interval(0, &tv1) == 0);
        ATF_REQUIRE(sched_rr_get_interval(getpid(), &tv2) == 0);



Home | Main Index | Thread Index | Old Index