diff --git a/examples/zephyr/z_scout.c b/examples/zephyr/z_scout.c index 7872e73ba..32c9a5660 100644 --- a/examples/zephyr/z_scout.c +++ b/examples/zephyr/z_scout.c @@ -62,7 +62,7 @@ void fprinthello(FILE *stream, const z_loaned_hello_t *hello) { } void callback(const z_loaned_hello_t *hello, void *context) { - fprinthello(stdout, z_hello_loan(hello)); + fprinthello(stdout, hello); fprintf(stdout, "\n"); (*(int *)context)++; }