git: 879a6b7b6280 - stable/12 - bin/df: add back linking with getmntops.c from sbin/mount

From: Stefan Eßer <>
Date: Mon, 18 Apr 2022 14:47:51 UTC
The branch stable/12 has been updated by se:


commit 879a6b7b628060a85a0f1787aa30ab6efbf1e0c1
Author:     Stefan Eßer <>
AuthorDate: 2022-04-18 14:44:30 +0000
Commit:     Stefan Eßer <>
CommitDate: 2022-04-18 14:44:30 +0000

    bin/df: add back linking with getmntops.c from sbin/mount
    A last minute clean-up of the Makefile erroneously removed the
    definitions required to link against sbin/mount/getmntops.c which
    defines the iovec handling functions used for the unmounted device
    case (that has been removed from -CURRENT and 13-STABLE).
    Put back the definitions to make the build with MOUNT_CHAR_DEVS
    defined succeed.
 bin/df/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/df/Makefile b/bin/df/Makefile
index bf1c72b884ac..b8e0ffc8c263 100644
--- a/bin/df/Makefile
+++ b/bin/df/Makefile
@@ -3,12 +3,14 @@
 MOUNT= ${.CURDIR}/../../sbin/mount
 PROG=	df
 SRCS=	df.c
+SRCS+=	getmntopts.c
 LIBADD=	xo util