diff options
| author | Rafal Jaworowski <raj@FreeBSD.org> | 2010-05-25 10:15:30 +0000 |
|---|---|---|
| committer | Rafal Jaworowski <raj@FreeBSD.org> | 2010-05-25 10:15:30 +0000 |
| commit | a0e34aa0ab37d550244965071b1294201d96c8a3 (patch) | |
| tree | a4c3517bcc076e4b7640407baced856903a258c3 /sys/boot | |
| parent | 75770ded4542b29bae76d27ebd442ff10d0734c7 (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/uboot/lib/glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/uboot/lib/glue.c b/sys/boot/uboot/lib/glue.c index 5483732881a0..9e6d384adaec 100644 --- a/sys/boot/uboot/lib/glue.c +++ b/sys/boot/uboot/lib/glue.c @@ -574,7 +574,7 @@ ub_env_enum(const char *last) * internally, which handles such case */ env = NULL; - if (syscall(API_ENV_ENUM, NULL, (uint32_t)last, (uint32_t)&env) != 0) + if (!syscall(API_ENV_ENUM, NULL, (uint32_t)last, (uint32_t)&env)) return (NULL); if (env == NULL) |
