Fix kernel version to only test major version
[lttng-tools.git] / src / bin / lttng / lttng.c
index 65cea55a25e73a8698fd01c2846b4a405488916a..2ee93253fe7b50f7ddfc139c58bde769465ec09c 100644 (file)
 #include <config.h>
 
 #include <lttng/lttng.h>
-#include <common/lttngerr.h>
+#include <common/error.h>
 
-#include "cmd.h"
-#include "conf.h"
+#include "command.h"
 
 /* Variables */
 static char *progname;
@@ -171,15 +170,15 @@ static void sighandler(int sig)
 {
        switch (sig) {
                case SIGTERM:
-                       DBG("SIGTERM catched");
+                       DBG("SIGTERM caugth");
                        clean_exit(EXIT_FAILURE);
                        break;
                case SIGCHLD:
                        /* Notify is done */
-                       DBG("SIGCHLD catched");
+                       DBG("SIGCHLD caugth");
                        break;
                default:
-                       DBG("Unknown signal %d catched", sig);
+                       DBG("Unknown signal %d caugth", sig);
                        break;
        }
 
This page took 0.024357 seconds and 5 git commands to generate.