aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c3
1 files changed, 1 insertions, 2 deletions
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:
469 string_flags = xstrdup(string_flags); 469 string_flags = xstrdup(string_flags);
470 rc = EXIT_SUCCESS; 470 rc = EXIT_SUCCESS;
471#ifdef CONFIG_NFSMOUNT 471#ifdef CONFIG_NFSMOUNT
472 if (strchr(device, ':') != NULL) 472 if (strchr(device, ':') != NULL) {
473 filesystemType = "nfs"; 473 filesystemType = "nfs";
474 if (strcmp(filesystemType, "nfs") == 0) {
475 if (nfsmount (device, directory, &flags, &extra_opts, 474 if (nfsmount (device, directory, &flags, &extra_opts,
476 &string_flags, 1)) { 475 &string_flags, 1)) {
477 perror_msg("nfsmount failed"); 476 perror_msg("nfsmount failed");