Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Don't assign non-integral constants to integral variables.
details: https://anonhg.NetBSD.org/src/rev/f09c5107a1b9
branches: trunk
changeset: 778747:f09c5107a1b9
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Apr 12 11:46:14 2012 +0000
description:
Don't assign non-integral constants to integral variables.
diffstat:
libexec/lfs_cleanerd/lfs_cleanerd.c | 4 ++--
usr.sbin/wiconfig/wiconfig.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r e56f735b2ae2 -r f09c5107a1b9 libexec/lfs_cleanerd/lfs_cleanerd.c
--- a/libexec/lfs_cleanerd/lfs_cleanerd.c Thu Apr 12 10:30:17 2012 +0000
+++ b/libexec/lfs_cleanerd/lfs_cleanerd.c Thu Apr 12 11:46:14 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_cleanerd.c,v 1.29 2012/02/02 03:47:11 perseant Exp $ */
+/* $NetBSD: lfs_cleanerd.c,v 1.30 2012/04/12 11:46:16 joerg Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -1365,7 +1365,7 @@
*/
atatime = 1;
segwait_timeout = 300; /* Five minutes */
- load_threshold = 0.2;
+ load_threshold = 0;
stat_report = 0;
inval_segment = -1;
copylog_filename = NULL;
diff -r e56f735b2ae2 -r f09c5107a1b9 usr.sbin/wiconfig/wiconfig.c
--- a/usr.sbin/wiconfig/wiconfig.c Thu Apr 12 10:30:17 2012 +0000
+++ b/usr.sbin/wiconfig/wiconfig.c Thu Apr 12 11:46:14 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wiconfig.c,v 1.43 2011/08/30 21:01:50 joerg Exp $ */
+/* $NetBSD: wiconfig.c,v 1.44 2012/04/12 11:46:14 joerg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul%ctr.columbia.edu@localhost>. All rights reserved.
@@ -68,7 +68,7 @@
#if !defined(lint)
__COPYRIGHT("@(#) Copyright (c) 1997, 1998, 1999\
Bill Paul. All rights reserved.");
-__RCSID("$NetBSD: wiconfig.c,v 1.43 2011/08/30 21:01:50 joerg Exp $");
+__RCSID("$NetBSD: wiconfig.c,v 1.44 2012/04/12 11:46:14 joerg Exp $");
#endif
struct wi_table {
@@ -261,7 +261,7 @@
rate = 2;
break;
case WI_APRATE_5:
- rate = 5.5;
+ rate = 5;
break;
case WI_APRATE_11:
rate = 11;
Home |
Main Index |
Thread Index |
Old Index