diff options
Diffstat (limited to 'sys/dev/extres/syscon/syscon.c')
-rw-r--r-- | sys/dev/extres/syscon/syscon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/extres/syscon/syscon.c b/sys/dev/extres/syscon/syscon.c index d0b440c9cc9a..d2d87e6e53b7 100644 --- a/sys/dev/extres/syscon/syscon.c +++ b/sys/dev/extres/syscon/syscon.c @@ -238,7 +238,7 @@ syscon_get_by_ofw_property(device_t cdev, phandle_t cnode, char *name, ncells = OF_getencprop_alloc_multi(cnode, name, sizeof(pcell_t), (void **)&cells); if (ncells < 1) - return (ENXIO); + return (ENOENT); /* Translate to syscon node. */ SYSCON_TOPO_SLOCK(); |