NetBSD-Bugs archive

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

Re: bin/32436 wsconsctl(8) "Use explicit arg to view map" when using "-a"



The following reply was made to PR bin/32436; it has been noted by GNATS.

From: dieter roelants <dieter.NetBSD%pandora.be@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/32436 wsconsctl(8) "Use explicit arg to view map" when
 using "-a"
Date: Sun, 20 Jan 2008 21:10:00 +0100

 This is not a bug. The message is simply telling you that to view the
 map variable you need to explicitly ask it, with "wsconsctl map". This
 could be made more obvious by double quoting "map" in that message.
 
 Index: wsconsctl.c
 ===================================================================
 RCS file: /cvsroot/src/sbin/wsconsctl/wsconsctl.c,v
 retrieving revision 1.16
 diff -u -r1.16 wsconsctl.c
 --- wsconsctl.c        15 Dec 2007 19:44:48 -0000      1.16
 +++ wsconsctl.c        20 Jan 2008 20:08:04 -0000
 @@ -180,7 +180,7 @@
                (*getval)(fd);
                for (i = 0; i < field_tab_len; i++)
                        if (field_tab[i].flags & FLG_NOAUTO)
 -                              warnx("Use explicit arg to view %s.",
 +                              warnx("Use explicit arg to view \"%s\".",
                                    field_tab[i].name);
                        else if (field_tab[i].flags & FLG_GET &&
                                 !(field_tab[i].flags & FLG_DISABLED))
 
 
 dieter
 



Home | Main Index | Thread Index | Old Index