diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-09-12 22:00:45 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-09-12 22:00:45 +0000 |
commit | d6597c99978740460247c43a953ea4d3027f00ff (patch) | |
tree | 55cefc24744091fef76ebe0f03ef55ec6763a6a8 /loader/init.c | |
parent | 831a1b8f79866566bc48e73f13d1278059f4514b (diff) | |
download | anaconda-d6597c99978740460247c43a953ea4d3027f00ff.tar.gz anaconda-d6597c99978740460247c43a953ea4d3027f00ff.tar.xz anaconda-d6597c99978740460247c43a953ea4d3027f00ff.zip |
use umount2 instead of umountbefore.libdir.changes
everything builds on hammer now...
Diffstat (limited to 'loader/init.c')
-rw-r--r-- | loader/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/init.c b/loader/init.c index 495bae39b..8eaed3af2 100644 --- a/loader/init.c +++ b/loader/init.c @@ -347,7 +347,7 @@ void undoMount(struct unmountInfo * fs, int numFs, int this) { printf("\t%s", fs[this].name); /* don't need to unmount /tmp. it is busy anyway. */ if (!testing) { - if (umount(fs[this].name) < 0) { + if (umount2(fs[this].name, 0) < 0) { printf(" umount failed (%d)", errno); } else { printf(" done"); |