]> sigrok.org Git - sigrok-cli.git/blobdiff - anykey.c
device detail now lists probes
[sigrok-cli.git] / anykey.c
index 5bc230bd7b47eccdf268f33c21db416eb5beac8d..cc40bedb7947a68d4bfde261106fdfc6d28e98f7 100644 (file)
--- a/anykey.c
+++ b/anykey.c
@@ -26,7 +26,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <glib.h>
-#include <sigrok.h>
+#include <libsigrok/libsigrok.h>
 #include "sigrok-cli.h"
 
 #ifdef _WIN32
@@ -70,7 +70,7 @@ void add_anykey(void)
 
        sr_session_source_add(STDIN_FILENO, G_IO_IN, -1, received_anykey, NULL);
 
-       printf("Press any key to stop acquisition.\n");
+       g_message("Press any key to stop acquisition.");
 }
 
 /* Restore stdin attributes. */