Use fstatat() to avoid path surgery.
authorguenther <guenther@openbsd.org>
Wed, 6 Jul 2016 04:35:12 +0000 (04:35 +0000)
committerguenther <guenther@openbsd.org>
Wed, 6 Jul 2016 04:35:12 +0000 (04:35 +0000)
commit623aa1a0c079d81a8150bc6d731cda4e84ea5c76
treea2554a97bc2ff9e7e55d0ec3c9bc51965e42bd11
parent38c90daa52759ff3b98f4e46027b9ff1383459c0
Use fstatat() to avoid path surgery.

bug catching and ok millert@
lib/libc/gen/devname.c