]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/runcmd.c
Signals: Document differences against strsignal()
[libucw.git] / ucw / runcmd.c
index 9ea0a1a31001f3983be16f2737d0805d8e9ae43a..fcc75468025b451ad7041e84b6a8fe292f4485b0 100644 (file)
@@ -7,7 +7,8 @@
  *     of the GNU Lesser General Public License.
  */
 
-#include "ucw/lib.h"
+#include <ucw/lib.h>
+#include <ucw/process.h>
 
 #include <stdlib.h>
 #include <string.h>
@@ -126,7 +127,7 @@ int main(void)
 {
   char msg[1024];
   echo_command(msg, sizeof(msg), "/bin/echo", "datel", "strakapoud", NULL);
-  log(L_INFO, "Running <%s>", msg);
+  msg(L_INFO, "Running <%s>", msg);
   run_command("/bin/echo", "datel", "strakapoud", NULL);
   return 0;
 }