examples/chrono: fix typo in log message

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2022-01-25 14:46:46 +02:00 committed by Abdelatif Guettouche
parent 9ea52c1d83
commit 3c556384ea

View File

@ -157,7 +157,7 @@ static int chrono_daemon(int argc, char *argv[])
if (ret < 0) if (ret < 0)
{ {
int errcode = errno; int errcode = errno;
printf("chrono_daemon: ERROR: ioctl(BTNIOC_SUPPORTED) failed: %d\n", printf("chrono_daemon: ERROR: ioctl(BTNIOC_REGISTER) failed: %d\n",
errcode); errcode);
goto errout_with_fd; goto errout_with_fd;
} }