[patch] mount s/MOUNTED/_PATH_MOUNTED/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



no longer use deprecated alias.
clears a useless compile error when compiling against klibc:
mount.c:995: error: `MOUNTED' undeclared (first use in this function)

Signed-off-by: maximilian attems <max@xxxxxxx>

---
the real bugger on the klibc side is the missing mntent.h,
this needs to be adressed soon there.

diff --git a/mount/mount.c b/mount/mount.c
index 30688ac..9a78e9f 100644
--- a/mount/mount.c
+++ b/mount/mount.c
@@ -992,7 +992,7 @@ update_mtab_entry(const char *spec, const char *node, const char *type,
 	if (!nomtab && mtab_does_not_exist()) {
 		if (verbose > 1)
 			printf(_("mount: no %s found - creating it..\n"),
-			       MOUNTED);
+			       _PATH_MOUNTED);
 		create_mtab ();
 	}
 
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux