Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/rump_allserver Use "host" instead of the slightly mo...



details:   https://anonhg.NetBSD.org/src/rev/0ee4b607188b
branches:  trunk
changeset: 762249:0ee4b607188b
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Feb 18 09:54:03 2011 +0000

description:
Use "host" instead of the slightly more cryptic "e" to indicate
that the size of the mapping should be taken from the host file
size.

diffstat:

 usr.bin/rump_allserver/rump_allserver.1 |  6 +++---
 usr.bin/rump_allserver/rump_allserver.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r e54be36e2588 -r 0ee4b607188b usr.bin/rump_allserver/rump_allserver.1
--- a/usr.bin/rump_allserver/rump_allserver.1   Fri Feb 18 08:39:13 2011 +0000
+++ b/usr.bin/rump_allserver/rump_allserver.1   Fri Feb 18 09:54:03 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: rump_allserver.1,v 1.14 2011/02/17 16:59:46 pooka Exp $
+.\"    $NetBSD: rump_allserver.1,v 1.15 2011/02/18 09:54:03 pooka Exp $
 .\"
 .\" Copyright (c) 2010 Antti Kantee.  All rights reserved.
 .\"
@@ -90,11 +90,11 @@
 .Xr dd 1 ,
 this argument accepts a suffix as the multiplier for the number.
 The special value
-.Dq e
+.Dq host
 indicates that the current size of
 .Ar hostpath
 will be used.
-It is assumed that
+In this case it is assumed that
 .Ar hostpath
 exists and is a regular file.
 .It OR
diff -r e54be36e2588 -r 0ee4b607188b usr.bin/rump_allserver/rump_allserver.c
--- a/usr.bin/rump_allserver/rump_allserver.c   Fri Feb 18 08:39:13 2011 +0000
+++ b/usr.bin/rump_allserver/rump_allserver.c   Fri Feb 18 09:54:03 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_allserver.c,v 1.18 2011/02/17 16:59:46 pooka Exp $        */
+/*     $NetBSD: rump_allserver.c,v 1.19 2011/02/18 09:54:03 pooka Exp $        */
 
 /*-
  * Copyright (c) 2010, 2011 Antti Kantee.  All Rights Reserved.
@@ -27,7 +27,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rump_allserver.c,v 1.18 2011/02/17 16:59:46 pooka Exp $");
+__RCSID("$NetBSD: rump_allserver.c,v 1.19 2011/02/18 09:54:03 pooka Exp $");
 #endif /* !lint */
 
 #include <sys/types.h>
@@ -175,7 +175,7 @@
                                                    "size already given\n");
                                                usage();
                                        }
-                                       if (strcmp(value, "e") == 0) {
+                                       if (strcmp(value, "host") == 0) {
                                                if (foffset != 0) {
                                                        fprintf(stderr,
                                                            "cannot specify "



Home | Main Index | Thread Index | Old Index