Source-Changes-HG archive

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

[src/trunk]: src/sbin/disklabel Translate an error message from C to english.



details:   https://anonhg.NetBSD.org/src/rev/7efdb20afee9
branches:  trunk
changeset: 571161:7efdb20afee9
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Fri Nov 12 01:00:40 2004 +0000

description:
Translate an error message from C to english.

Before: disklabel: warning, partition g: offset % cylinder-size != 0
After:  disklabel: warning, partition g: not starting on cylinder boundary

diffstat:

 sbin/disklabel/disklabel.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 568eb2399dde -r 7efdb20afee9 sbin/disklabel/disklabel.c
--- a/sbin/disklabel/disklabel.c        Thu Nov 11 22:39:03 2004 +0000
+++ b/sbin/disklabel/disklabel.c        Fri Nov 12 01:00:40 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel.c,v 1.134 2004/07/13 21:23:13 enami Exp $    */
+/*     $NetBSD: disklabel.c,v 1.135 2004/11/12 01:00:40 hubertf Exp $  */
 
 /*
  * Copyright (c) 1987, 1993
@@ -43,7 +43,7 @@
 static char sccsid[] = "@(#)disklabel.c        8.4 (Berkeley) 5/4/95";
 /* from static char sccsid[] = "@(#)disklabel.c        1.2 (Symmetric) 11/28/85"; */
 #else
-__RCSID("$NetBSD: disklabel.c,v 1.134 2004/07/13 21:23:13 enami Exp $");
+__RCSID("$NetBSD: disklabel.c,v 1.135 2004/11/12 01:00:40 hubertf Exp $");
 #endif
 #endif /* not lint */
 
@@ -1789,7 +1789,7 @@
 #ifdef STRICT_CYLINDER_ALIGNMENT
                if (pp->p_offset % lp->d_secpercyl) {
                        warnx("warning, partition %c:"
-                           " offset %% cylinder-size != 0",
+                           " not starting on cylinder boundary",
                            part);
                        errors++;
                }



Home | Main Index | Thread Index | Old Index