[PATCH 2/3] Clean up getHostandPath() debugging messages for host & file.

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

 



---
 loader/kickstart.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/loader/kickstart.c b/loader/kickstart.c
index da33605..2c12ea6 100644
--- a/loader/kickstart.c
+++ b/loader/kickstart.c
@@ -318,8 +318,8 @@ void getHostPathandLogin(char * ksSource, char **host, char ** file, char ** log
         **file = '\0';
     }
 
-    logMessage(DEBUGLVL, "getHostandPath host: |%s|", *host);
-    logMessage(DEBUGLVL, "getHostandPath file(1): |%s|", *file);
+    logMessage(DEBUGLVL, "%s host = %s", __func__, *host);
+    logMessage(DEBUGLVL, "%s (line %d) file = %s", __func__, __LINE__, *file);
 
     /* if the filename ends with / or is null, use default kickstart
      * name of IP_ADDRESS-kickstart appended to *file
@@ -331,7 +331,8 @@ void getHostPathandLogin(char * ksSource, char **host, char ** file, char ** log
             abort();
         }
 
-        logMessage(DEBUGLVL, "getHostandPath file(2): |%s|", *file);
+        logMessage(DEBUGLVL, "%s (line %d) file = %s", __func__, __LINE__,
+                   *file);
     }
 
     /* Do we have a password? */
-- 
1.6.2.5

_______________________________________________
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