Module Name: src Committed By: bouyer Date: Sun Sep 13 18:30:30 UTC 2009
Modified Files: src/sbin/tunefs: tunefs.c Log Message: Restore change from 1.39 after previous commit. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sbin/tunefs/tunefs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/tunefs/tunefs.c diff -u src/sbin/tunefs/tunefs.c:1.41 src/sbin/tunefs/tunefs.c:1.42 --- src/sbin/tunefs/tunefs.c:1.41 Sun Sep 13 14:13:23 2009 +++ src/sbin/tunefs/tunefs.c Sun Sep 13 18:30:30 2009 @@ -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;