From a20755e9ef4117e041154f187fade2040a2bd1d6 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 5 Aug 2021 10:20:54 -0400 Subject: test_disk: Minor fix in an error path ...Log the variable containing the actual error Change-Id: If22e6b684f2e213bc45c8ca95295936ba8e09895 --- apps/plugins/test_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/test_disk.c') 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; } -- cgit v1.2.3