o Fix a typo. errx() -> err().

Submitted by:	das
This commit is contained in:
Maxim Konovalov 2008-01-12 20:57:19 +00:00
parent 2123fbe6cd
commit e08b1089a6

View File

@ -737,8 +737,8 @@ devstats(int perf_select, long double etime, int havelast)
if (xflag > 0) {
if (asprintf(&devname, "%s%d",
cur.dinfo->devices[di].device_name,
cur.dinfo->devices[di].unit_number) == 1)
errx(1, "asprintf() failed (out of memory?)");
cur.dinfo->devices[di].unit_number) == -1)
err(1, "asprintf");
/*
* If zflag is set, skip any devices with zero I/O.
*/