Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs XXX Use of hzto() return value needs to be doubl...
details: https://anonhg.NetBSD.org/src/rev/a2768d33da9d
branches: trunk
changeset: 494764:a2768d33da9d
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Jul 13 17:35:03 2000 +0000
description:
XXX Use of hzto() return value needs to be double-checked here.
diffstat:
sys/ufs/lfs/lfs_syscalls.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 4fb06561578a -r a2768d33da9d sys/ufs/lfs/lfs_syscalls.c
--- a/sys/ufs/lfs/lfs_syscalls.c Thu Jul 13 17:32:06 2000 +0000
+++ b/sys/ufs/lfs/lfs_syscalls.c Thu Jul 13 17:35:03 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_syscalls.c,v 1.47 2000/07/05 22:25:44 perseant Exp $ */
+/* $NetBSD: lfs_syscalls.c,v 1.48 2000/07/13 17:35:03 thorpej Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -842,6 +842,10 @@
return (error);
if (itimerfix(&atv))
return (EINVAL);
+ /*
+ * XXX THIS COULD SLEEP FOREVER IF TIMEOUT IS {0,0}!
+ * XXX IS THAT WHAT IS INTENDED?
+ */
s = splclock();
timeradd(&atv, &time, &atv);
timeout = hzto(&atv);
Home |
Main Index |
Thread Index |
Old Index