Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/btpand style nit



details:   https://anonhg.NetBSD.org/src/rev/ca302edef479
branches:  trunk
changeset: 761432:ca302edef479
user:      plunky <plunky%NetBSD.org@localhost>
date:      Thu Jan 27 11:13:59 2011 +0000

description:
style nit

diffstat:

 usr.sbin/btpand/channel.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f01e61a55a5a -r ca302edef479 usr.sbin/btpand/channel.c
--- a/usr.sbin/btpand/channel.c Thu Jan 27 09:52:13 2011 +0000
+++ b/usr.sbin/btpand/channel.c Thu Jan 27 11:13:59 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: channel.c,v 1.3 2009/05/12 21:08:30 plunky Exp $       */
+/*     $NetBSD: channel.c,v 1.4 2011/01/27 11:13:59 plunky Exp $       */
 
 /*-
  * Copyright (c) 2008 Iain Hibbert
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: channel.c,v 1.3 2009/05/12 21:08:30 plunky Exp $");
+__RCSID("$NetBSD: channel.c,v 1.4 2011/01/27 11:13:59 plunky Exp $");
 
 #include <sys/ioctl.h>
 
@@ -312,7 +312,7 @@
                        channel_tick = tick;
        }
 
-       if (channel_tick != 0 && evtimer_add(arg, &tv) < 0) {
+       if (channel_tick != 0 && evtimer_add(arg, &tv) == -1) {
                log_err("Could not add watchdog event: %m");
                exit(EXIT_FAILURE);
        }



Home | Main Index | Thread Index | Old Index