]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/log-file.c
Example: Fix the previous commit.
[libucw.git] / ucw / log-file.c
index 6ac07823894f23a324eb80dec9e2906b0d0f9055..ec05396c3dead9fad243308252d1f15927109fae 100644 (file)
@@ -114,7 +114,7 @@ int main(int argc, char **argv)
   log_init(argv[0]);
   log_file("/proc/self/fd/1");
   for (int i=1; i<argc; i++)
   log_init(argv[0]);
   log_file("/proc/self/fd/1");
   for (int i=1; i<argc; i++)
-    log(L_INFO, argv[i]);
+    msg(L_INFO, argv[i]);
   return 0;
 }
 
   return 0;
 }