repo.or.cz
/
openembedded.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
task-fso2-compliance: add fsoaudiod as dependency
[openembedded.git]
/
recipes
/
u-boot
/
u-boot-1.1.4
/
u-boot-autoscript.patch
blob
1864b4494ea8f821e59b1df6b5d8fffe0daec615
1
--- u-boot-1.1.2/common/cmd_autoscript.c
2
+++ u-boot-1.1.2/common/cmd_autoscript.c
3
@@ -110,8 +110,8 @@
4
return 1;
5
}
6
7
- while (*len_ptr++);
8
+ do { len_ptr++; } while (!(*len_ptr));
9
10
/* make sure cmd is null terminated */
11
memmove (cmd, (char *)len_ptr, len);
12
*(cmd + len) = 0;