Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/tprof Use errx, there is no errno.
details: https://anonhg.NetBSD.org/src/rev/2587612aef2f
branches: trunk
changeset: 991644:2587612aef2f
user: maxv <maxv%NetBSD.org@localhost>
date: Tue Jul 24 09:50:37 2018 +0000
description:
Use errx, there is no errno.
diffstat:
usr.sbin/tprof/tprof.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e8b272830a2c -r 2587612aef2f usr.sbin/tprof/tprof.c
--- a/usr.sbin/tprof/tprof.c Tue Jul 24 09:47:35 2018 +0000
+++ b/usr.sbin/tprof/tprof.c Tue Jul 24 09:50:37 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof.c,v 1.12 2018/07/18 16:50:05 wiz Exp $ */
+/* $NetBSD: tprof.c,v 1.13 2018/07/24 09:50:37 maxv Exp $ */
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: tprof.c,v 1.12 2018/07/18 16:50:05 wiz Exp $");
+__RCSID("$NetBSD: tprof.c,v 1.13 2018/07/24 09:50:37 maxv Exp $");
#endif /* not lint */
#include <sys/ioctl.h>
@@ -284,7 +284,7 @@
info.ti_version, TPROF_VERSION);
}
if (tprof_event_init(info.ti_ident) == -1) {
- err(EXIT_FAILURE, "cpu not supported");
+ errx(EXIT_FAILURE, "cpu not supported");
}
if (argc == 0)
Home |
Main Index |
Thread Index |
Old Index