From 5f643ca7dc2fe4afcdbcb4bf7b30ce23ec23eff5 Mon Sep 17 00:00:00 2001 From: Ralph Hempel Date: Sat, 24 Apr 2010 06:03:31 +0000 Subject: fix command line buffer length, fixes mtdparts SVN-Revision: 21117 --- package/uboot-lantiq/patches/310-fix-httpd.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/uboot-lantiq/patches/310-fix-httpd.patch') diff --git a/package/uboot-lantiq/patches/310-fix-httpd.patch b/package/uboot-lantiq/patches/310-fix-httpd.patch index 51a96fc588..b27ed5859a 100644 --- a/package/uboot-lantiq/patches/310-fix-httpd.patch +++ b/package/uboot-lantiq/patches/310-fix-httpd.patch @@ -35,7 +35,7 @@ # endif +# ifdef CONFIG_CMD_HTTPD -+ if (ret < 0) { ++ if (ret != 0) { + printf("Failed to execute bootcmd " + "(maybe invalid u-boot environment?), " + "starting httpd to update firmware...\n"); -- cgit v1.2.3