diff --git a/usr.sbin/pciconf/pciconf.8 b/usr.sbin/pciconf/pciconf.8 index d32204c203c..31f032e66bd 100644 --- a/usr.sbin/pciconf/pciconf.8 +++ b/usr.sbin/pciconf/pciconf.8 @@ -177,9 +177,9 @@ The and .Fl h options are implemented in -.Nm pciconf , +.Nm Ns , but not in the underlying -.Fn ioctl . +.Xr ioctl 2 . .Pp It might be useful to give non-root users access to the .Fl a diff --git a/usr.sbin/pciconf/pciconf.c b/usr.sbin/pciconf/pciconf.c index 5a535f6b509..d137fbdf615 100644 --- a/usr.sbin/pciconf/pciconf.c +++ b/usr.sbin/pciconf/pciconf.c @@ -162,7 +162,7 @@ list_devs(void) close(fd); return; } else if (pc.status == PCI_GETCONF_ERROR) { - warnx("Error returned from PCIOCGETCONF ioctl"); + warnx("error returned from PCIOCGETCONF ioctl"); exitstatus = 1; close(fd); return;