diff --git a/apps/plugins/test_disk.c b/apps/plugins/test_disk.c index b689ba672e..1429668556 100644 --- a/apps/plugins/test_disk.c +++ b/apps/plugins/test_disk.c @@ -156,7 +156,7 @@ static bool test_fs(void) fd = rb->open(TEST_FILE, O_RDONLY); if (fd < 0) { - rb->splashf(0, "open() failed: %d", ret); + rb->splashf(0, "open() failed: %d", fd); goto error; }