Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   Fix order of nfs mountOpts in promptForNfs (http://www.linux-archive.org/fedora-user/508587-fix-order-nfs-mountopts-promptfornfs.html)

"Brian C. Lane" 04-01-2011 06:00 PM

Fix order of nfs mountOpts in promptForNfs
 
---
loader/nfsinstall.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/nfsinstall.c b/loader/nfsinstall.c
index 3706311..76529bf 100644
--- a/loader/nfsinstall.c
+++ b/loader/nfsinstall.c
@@ -249,7 +249,7 @@ int promptForNfs(struct loaderData_s *loaderData) {
}

if (mountOpts) {
- checked_asprintf(&loaderData->instRepo, "nfs:%s:%s:%s", host, mountOpts,
+ checked_asprintf(&loaderData->instRepo, "nfs:%s:%s:%s", mountOpts, host
directory);
} else {
checked_asprintf(&loaderData->instRepo, "nfs:%s:%s", host, directory);
--
1.7.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 03:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.