summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-03-17 11:29:55 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-03-18 09:21:50 -1000
commit68db44e1c07a094e07ac4912f11b60a2592895f0 (patch)
treefd29ea5989a1ec31c78440ccf6ace4e455fde5c0 /isys
parentbd18c5370cacbac9a88074d8b0b66f1824c9cdb7 (diff)
downloadanaconda-68db44e1c07a094e07ac4912f11b60a2592895f0.tar.gz
anaconda-68db44e1c07a094e07ac4912f11b60a2592895f0.tar.xz
anaconda-68db44e1c07a094e07ac4912f11b60a2592895f0.zip
Fix error message reading and writing in doPwMount()
Diffstat (limited to 'isys')
-rw-r--r--isys/imount.c4
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]);