summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
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]);