--- a/src/httpfs.cxx
+++ b/src/httpfs.cxx
@@ -201,7 +201,7 @@
     string presentationdata;
     if (!presentationhtml.empty()) {
         if (!file_to_string(presentationhtml, presentationdata, &reason)) {
-            LOGERR("Failed reading " << iconpath << " : " << reason << endl);
+            LOGERR("Failed reading " << presentationhtml << " : " << reason << endl);
         }
     }