mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[kernel] move lots of kernel related packages to the new system/ folder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33830 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
15
package/network/config/soloscli/patches/001-newline.patch
Normal file
15
package/network/config/soloscli/patches/001-newline.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- a/soloscli/soloscli.c
|
||||
+++ b/soloscli/soloscli.c
|
||||
@@ -238,7 +238,11 @@
|
||||
}
|
||||
if (strcmp(buf,pid) == 0) {
|
||||
/* printf("Sequence matches.\n"); */
|
||||
- printf("%s",bufp);
|
||||
+ if(buf[(len-1)] == '\n'){
|
||||
+ printf("%s",bufp);
|
||||
+ } else {
|
||||
+ printf("%s\n",bufp);
|
||||
+ }
|
||||
} else {
|
||||
printf("Sequence incorrect.\n");
|
||||
buf[i] = '\n';
|
||||
Reference in New Issue
Block a user