Fix build with debugging switched off.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 10 Dec 2013 18:22:17 +0000 (19:22 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 23 Feb 2014 13:16:21 +0000 (14:16 +0100)
src/VfsNs.cpp

index f7d5d1d..da7c898 100644 (file)
@@ -2121,7 +2121,7 @@ void VfsCatalog::rfnDelete(const std::string& path, const std::string& rfn) thro
   } catch (DmException e) {
     // not critical, but log a warning
 #ifndef DEBUG
-    syslog(LOG_WARN, "%s", e.what());
+    syslog(LOG_WARNING, "%s", e.what());
 #endif
   }
 }