X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=anykey.c;h=478e644c31edb156678bc36a6c73f76081442581;hp=5bc230bd7b47eccdf268f33c21db416eb5beac8d;hb=d3f829a1c4bce7d3947df93d5367602a0eb7e01f;hpb=68cdf174d18df9b5a69eea60469caf32d265a906 diff --git a/anykey.c b/anykey.c index 5bc230b..478e644 100644 --- a/anykey.c +++ b/anykey.c @@ -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. */