can-utils/lib: fix build issues introduced with sprintf_can_error_frame()

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
This commit is contained in:
Wolfgang Grandegger
2011-02-14 16:10:39 +00:00
parent 796475677a
commit 71bcd74a7d
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ void sprint_long_canframe(char *buf , struct can_frame *cf, int view);
*
*/
void snprintf_can_error_frame(char *buf, int len, struct can_frame *cf,
void snprintf_can_error_frame(char *buf, size_t len, struct can_frame *cf,
char *sep);
/*
* Creates a CAN error frame output in user readable format.