]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
procfs_doprocfile(): simplify
authorKonstantin Belousov <kib@FreeBSD.org>
Thu, 4 Nov 2021 03:58:06 +0000 (05:58 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 4 Nov 2021 04:13:47 +0000 (06:13 +0200)
commit15bd9fa3bea794054b4a5bd2f4bb71b0ba3aa3ba
tree542c084116f407ce1fda788ae12f45a930d9f11c
parent7ac82c96fe79a6a9dcf595ef4860ed75d3511414
procfs_doprocfile(): simplify

Now that proc_get_binpath() does not return NULL in fullpath on success,
directly use sbuf_cat() over the value.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
sys/fs/procfs/procfs.c