Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 18:02:42 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 151669 for review
Message-ID:  <200810211802.m9LI2gJd043863@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=151669

Change 151669 by sam@sam_ebb on 2008/10/21 18:01:45

	warnx implicitly adds \n, remove explicit ones

Affected files ...

.. //depot/projects/vap/sbin/ifconfig/regdomain.c#10 edit

Differences ...

==== //depot/projects/vap/sbin/ifconfig/regdomain.c#10 (text+ko) ====

@@ -319,11 +319,11 @@
 	/* </band> */
 	if (iseq(name, "band") && mt->netband != NULL) {
 		if (mt->netband->band == NULL) {
-			warnx("no freqbands for band at line %ld\n",
+			warnx("no freqbands for band at line %ld",
 			   XML_GetCurrentLineNumber(mt->parser));
 		}
 		if (mt->netband->maxPower == 0) {
-			warnx("no maxpower for band at line %ld\n",
+			warnx("no maxpower for band at line %ld",
 			   XML_GetCurrentLineNumber(mt->parser));
 		}
 		/* default max power w/ DFS to max power */
@@ -340,15 +340,15 @@
 	/* </country> */
 	if (iseq(name, "country") && mt->country != NULL) {
 		if (mt->country->code == 0) {
-			warnx("no ISO cc for country at line %ld\n",
+			warnx("no ISO cc for country at line %ld",
 			   XML_GetCurrentLineNumber(mt->parser));
 		}
 		if (mt->country->name == NULL) {
-			warnx("no name for country at line %ld\n",
+			warnx("no name for country at line %ld",
 			   XML_GetCurrentLineNumber(mt->parser));
 		}
 		if (mt->country->rd == NULL) {
-			warnx("no regdomain reference for country at line %ld\n",
+			warnx("no regdomain reference for country at line %ld",
 			   XML_GetCurrentLineNumber(mt->parser));
 		}
 		mt->country = NULL;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810211802.m9LI2gJd043863>