Source-Changes-HG archive

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

[src/bouyer-quota2]: src/usr.sbin/edquota Fix quota1 grace time format.



details:   https://anonhg.NetBSD.org/src/rev/f361fe7f5653
branches:  bouyer-quota2
changeset: 761149:f361fe7f5653
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Feb 09 17:48:45 2011 +0000

description:
Fix quota1 grace time format.

diffstat:

 usr.sbin/edquota/edquota.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r ca06d368c661 -r f361fe7f5653 usr.sbin/edquota/edquota.c
--- a/usr.sbin/edquota/edquota.c        Wed Feb 09 17:43:53 2011 +0000
+++ b/usr.sbin/edquota/edquota.c        Wed Feb 09 17:48:45 2011 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: edquota.c,v 1.29.16.10 2011/02/07 20:31:20 bouyer Exp $ */
+/*      $NetBSD: edquota.c,v 1.29.16.11 2011/02/09 17:48:45 bouyer Exp $ */
 /*
  * Copyright (c) 1980, 1990, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "from: @(#)edquota.c    8.3 (Berkeley) 4/27/95";
 #else
-__RCSID("$NetBSD: edquota.c,v 1.29.16.10 2011/02/07 20:31:20 bouyer Exp $");
+__RCSID("$NetBSD: edquota.c,v 1.29.16.11 2011/02/09 17:48:45 bouyer Exp $");
 #endif
 #endif /* not lint */
 
@@ -794,7 +794,7 @@
                last_char(line2) = '\0';
                if (dflag && version == 1) {
                        if (sscanf(line1,
-                           "\tblocks:(grace = %s\n", stime) != 1) {
+                           "\tblocks: (grace = %s\n", stime) != 1) {
                                warnx("%s:%s: bad format", fsp, line1);
                                goto out;
                        }
@@ -808,7 +808,7 @@
                                goto out;
                        }
                        if (sscanf(line2,
-                           "\tinodes:(grace = %s\n", stime) != 1) {
+                           "\tinodes: (grace = %s\n", stime) != 1) {
                                warnx("%s:%s: bad format", fsp, line2);
                                goto out;
                        }



Home | Main Index | Thread Index | Old Index