summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1999-07-31 15:04:37 +0000
committerhoek <hoek@FreeBSD.org>1999-07-31 15:04:37 +0000
commit581ea05e683d281750a0d2639d7a49b0369bd815 (patch)
tree5a908ffa2b89e72d2697479f36dbbbe2cf28bdfe /share
parenteea917b87e1227154092e6d7754cd255768da081 (diff)
downloadFreeBSD-src-581ea05e683d281750a0d2639d7a49b0369bd815.zip
FreeBSD-src-581ea05e683d281750a0d2639d7a49b0369bd815.tar.gz
Use errx() instead of err() in example code calling err() after strtol().
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/style.94
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index 00adc5a..b6ffcb7 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: style.9,v 1.23 1999/01/30 04:17:14 julian Exp $
+.\" $Id: style.9,v 1.24 1999/06/27 02:38:45 mpp Exp $
.\"
.Dd December 14, 1995
.Dt STYLE 9
@@ -243,7 +243,7 @@ have a NOTREACHED comment.
case 'n':
num = strtol(optarg, &ep, 10);
if (num <= 0 || *ep != '\e0')
- err("illegal number -- %s", optarg);
+ errx("illegal number -- %s", optarg);
break;
case '?':
default:
OpenPOWER on IntegriCloud