packages: armst/stmbl.patch - kill one more warning
cactus
cactus at pld-linux.org
Sun Jun 24 10:46:08 CEST 2012
Author: cactus Date: Sun Jun 24 08:46:08 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- kill one more warning
---- Files affected:
packages/armst:
stmbl.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/armst/stmbl.patch
diff -u packages/armst/stmbl.patch:1.1 packages/armst/stmbl.patch:1.2
--- packages/armst/stmbl.patch:1.1 Wed Jun 13 18:07:31 2012
+++ packages/armst/stmbl.patch Sun Jun 24 10:46:03 2012
@@ -1,5 +1,14 @@
--- stmbl.c.oryg 2012-06-13 15:01:49.000000000 +0200
+++ stmbl.c 2012-06-13 15:12:51.000000000 +0200
+@@ -118,7 +118,7 @@
+ printf(" chk = %x\n", checksum);
+ #endif
+ // send stream
+- write(stmbl.device, &prefix_byte, 1);
++ rval = write(stmbl.device, &prefix_byte, 1);
+ rval = write(stmbl.device, buf, size);
+ return rval + write(stmbl.device, &checksum, 1);
+ }
@@ -127,7 +127,7 @@
int stmblRecv(uint8_t* buf, unsigned int size)
{
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/armst/stmbl.patch?r1=1.1&r2=1.2
More information about the pld-cvs-commit
mailing list