summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/rtprio/rtprio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtprio/rtprio.c b/usr.sbin/rtprio/rtprio.c
index 5d1224c..38dade8 100644
--- a/usr.sbin/rtprio/rtprio.c
+++ b/usr.sbin/rtprio/rtprio.c
@@ -133,9 +133,9 @@ parseint(const char *str, const char *errname)
errno = 0;
res = strtol(str, &endp, 10);
if (errno != 0 || endp == str || *endp != '\0')
- err(1, "%s must be a number", errname);
+ errx(1, "%s must be a number", errname);
if (res >= INT_MAX)
- err(1, "Integer overflow parsing %s", errname);
+ errx(1, "Integer overflow parsing %s", errname);
return (res);
}
OpenPOWER on IntegriCloud