[anaconda-storage-branch PATCH 2/6] Fix error message reading and writing in doPwMount()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 isys/imount.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/isys/imount.c b/isys/imount.c
index e102206..614e67e 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]);
-- 
1.6.2

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux