From 3b60dec110084246498701b8f84a27ab1efa1893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Wed, 18 Jun 2025 21:21:48 +0200 Subject: [PATCH] bindesc: fix typo in errno (ENONET->ENOENT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix typo in errno which isn't caught when building since ENONET is also a valid code, despite not being defined (nor allowed?) in Zephyr proper. Signed-off-by: Benjamin Cabé --- subsys/bindesc/bindesc_read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bindesc/bindesc_read.c b/subsys/bindesc/bindesc_read.c index 41056396277..4e3364a9bbc 100644 --- a/subsys/bindesc/bindesc_read.c +++ b/subsys/bindesc/bindesc_read.c @@ -118,7 +118,7 @@ int bindesc_open_ram(struct bindesc_handle *handle, const uint8_t *address, size if (*(uint64_t *)address != BINDESC_MAGIC) { LOG_ERR("Magic not found in given address"); - return -ENONET; + return -ENOENT; } handle->address = address;