diff options
| author | Jessica Clarke <jrtc27@FreeBSD.org> | 2024-12-17 20:51:56 +0000 |
|---|---|---|
| committer | Jessica Clarke <jrtc27@FreeBSD.org> | 2024-12-17 20:51:56 +0000 |
| commit | e1060f6dfd80b34cab6d439bf7420ad686ddc8f1 (patch) | |
| tree | 80b6f9b4ca4bbd3d8ddc2ec6d660d7b56f58f4e9 /sys/dev/ofw | |
| parent | f25d7ff3037e26286d5a7479e9bf39bd1bb85e4c (diff) | |
Diffstat (limited to 'sys/dev/ofw')
| -rw-r--r-- | sys/dev/ofw/ofw_bus_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ofw/ofw_bus_subr.c b/sys/dev/ofw/ofw_bus_subr.c index a6d562cd8e9d..4d0479dfb957 100644 --- a/sys/dev/ofw/ofw_bus_subr.c +++ b/sys/dev/ofw/ofw_bus_subr.c @@ -210,7 +210,7 @@ ofw_bus_node_status_okay(phandle_t node) OF_getprop(node, "status", status, OFW_STATUS_LEN); if ((len == 5 && (bcmp(status, "okay", len) == 0)) || - (len == 3 && (bcmp(status, "ok", len)))) + (len == 3 && (bcmp(status, "ok", len) == 0))) return (1); return (0); |
