From fcffa2cc1a0f11ea6a075dd37762ca5b543b55e1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 6 Apr 2002 05:17:57 +0000 Subject: Apply lash_patch35 from vodz, which brings several nice size_optimizations. --- util-linux/mount.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'util-linux/mount.c') diff --git a/util-linux/mount.c b/util-linux/mount.c index ae4417cb8..74ce4e116 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -469,9 +469,8 @@ singlemount: string_flags = xstrdup(string_flags); rc = EXIT_SUCCESS; #ifdef CONFIG_NFSMOUNT - if (strchr(device, ':') != NULL) + if (strchr(device, ':') != NULL) { filesystemType = "nfs"; - if (strcmp(filesystemType, "nfs") == 0) { if (nfsmount (device, directory, &flags, &extra_opts, &string_flags, 1)) { perror_msg("nfsmount failed"); -- cgit v1.2.3