diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-03-17 11:29:55 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-03-18 09:21:50 -1000 |
commit | 68db44e1c07a094e07ac4912f11b60a2592895f0 (patch) | |
tree | fd29ea5989a1ec31c78440ccf6ace4e455fde5c0 /isys/imount.c | |
parent | bd18c5370cacbac9a88074d8b0b66f1824c9cdb7 (diff) | |
download | anaconda-68db44e1c07a094e07ac4912f11b60a2592895f0.tar.gz anaconda-68db44e1c07a094e07ac4912f11b60a2592895f0.tar.xz anaconda-68db44e1c07a094e07ac4912f11b60a2592895f0.zip |
Fix error message reading and writing in doPwMount()
Diffstat (limited to 'isys/imount.c')
-rw-r--r-- | isys/imount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isys/imount.c b/isys/imount.c index e10220640..614e67ee6 100644 --- a/isys/imount.c +++ b/isys/imount.c @@ -146,9 +146,9 @@ int doPwMount(char *dev, char *where, char *fs, char *options, char **err) { close(pipefd[1]); - if (err != NULL) { + if (*err != NULL) { rc = readFD(pipefd[0], err); - rc = write(programLogFD, err, 4096); + rc = write(programLogFD, *err, 4096); } close(pipefd[0]); |