Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/tunefs Restore change from 1.39 after previous commit.
details: https://anonhg.NetBSD.org/src/rev/b215ecdf485d
branches: trunk
changeset: 747395:b215ecdf485d
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sun Sep 13 18:30:30 2009 +0000
description:
Restore change from 1.39 after previous commit.
diffstat:
sbin/tunefs/tunefs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8296f5a6169a -r b215ecdf485d sbin/tunefs/tunefs.c
--- a/sbin/tunefs/tunefs.c Sun Sep 13 18:13:37 2009 +0000
+++ b/sbin/tunefs/tunefs.c Sun Sep 13 18:30:30 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tunefs.c,v 1.41 2009/09/13 14:13:23 bouyer Exp $ */
+/* $NetBSD: tunefs.c,v 1.42 2009/09/13 18:30:30 bouyer Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)tunefs.c 8.3 (Berkeley) 5/3/95";
#else
-__RCSID("$NetBSD: tunefs.c,v 1.41 2009/09/13 14:13:23 bouyer Exp $");
+__RCSID("$NetBSD: tunefs.c,v 1.42 2009/09/13 18:30:30 bouyer Exp $");
#endif
#endif /* not lint */
@@ -368,7 +368,7 @@
if (!in_fs_log && logfilesize > 0 && old_size > 0)
errx(1, "Can't change size of non-in-filesystem log");
- if (old_size == logfilesize && logfilesize > 0) {
+ if (old_size == (uint64_t)logfilesize && logfilesize > 0) {
/* no action */
warnx("log file size remains unchanged at %lld", logfilesize);
return;
Home |
Main Index |
Thread Index |
Old Index