svn commit: r208535 - head/sys/boot/uboot/lib
Rafal Jaworowski
raj at FreeBSD.org
Tue May 25 10:15:31 UTC 2010
Author: raj
Date: Tue May 25 10:15:30 2010
New Revision: 208535
URL: http://svn.freebsd.org/changeset/base/208535
Log:
Mostly revert r200691. U-Boot syscall() entry point returns 1 on success.
Modified:
head/sys/boot/uboot/lib/glue.c
Modified: head/sys/boot/uboot/lib/glue.c
==============================================================================
--- head/sys/boot/uboot/lib/glue.c Tue May 25 09:59:53 2010 (r208534)
+++ head/sys/boot/uboot/lib/glue.c Tue May 25 10:15:30 2010 (r208535)
@@ -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)
More information about the svn-src-head
mailing list