From owner-p4-projects@FreeBSD.ORG Tue Oct 21 18:02:43 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3F1CB1065675; Tue, 21 Oct 2008 18:02:43 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 012E81065670 for ; Tue, 21 Oct 2008 18:02:43 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E3BCB8FC13 for ; Tue, 21 Oct 2008 18:02:42 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m9LI2gYr043865 for ; Tue, 21 Oct 2008 18:02:42 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m9LI2gJd043863 for perforce@freebsd.org; Tue, 21 Oct 2008 18:02:42 GMT (envelope-from sam@freebsd.org) Date: Tue, 21 Oct 2008 18:02:42 GMT Message-Id: <200810211802.m9LI2gJd043863@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Cc: Subject: PERFORCE change 151669 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 18:02:43 -0000 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 @@ /* */ 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 @@ /* */ 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;