bindesc: fix typo in errno (ENONET->ENOENT)

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é <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2025-06-18 21:21:48 +02:00 committed by Anas Nashif
parent ba56cd1020
commit 3b60dec110

View File

@ -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;