diff --git a/osc-joy.c b/osc-joy.c index 3362ed0..72e0eec 100644 --- a/osc-joy.c +++ b/osc-joy.c @@ -92,7 +92,7 @@ if (verbosity) { lo_address t = lo_address_new(remote_host, remote_port); if( ( joy_fd = open(joy_device , O_RDONLY)) == -1 ) { - fprintf(stderr, "Couldn't open %s\n", JOY_DEVICE); + fprintf(stderr, "Couldn't open %s\n", joy_device); exit(1); }