diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/idevicesyslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index 65a613b..5ecd0ad 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c | |||
| @@ -376,7 +376,7 @@ static void syslog_callback(char c, void *user_data) | |||
| 376 | } | 376 | } |
| 377 | } | 377 | } |
| 378 | 378 | ||
| 379 | static void ostrace_syslog_callback(const unsigned char* buf, unsigned int len, void* user_data) | 379 | static void ostrace_syslog_callback(const void* buf, size_t len, void* user_data) |
| 380 | { | 380 | { |
| 381 | if (len < 0x81) { | 381 | if (len < 0x81) { |
| 382 | fprintf(stderr, "Error: not enough data in callback function?!\n"); | 382 | fprintf(stderr, "Error: not enough data in callback function?!\n"); |
