diff options
Diffstat (limited to 'src/utils.c')
| -rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index 245894e..5296332 100644 --- a/src/utils.c +++ b/src/utils.c | |||
| @@ -225,7 +225,7 @@ void buffer_read_from_filename(const char *filename, char **buffer, uint64_t *le | |||
| 225 | 225 | ||
| 226 | *buffer = (char*)malloc(sizeof(char)*(size+1)); | 226 | *buffer = (char*)malloc(sizeof(char)*(size+1)); |
| 227 | if (fread(*buffer, sizeof(char), size, f) != size) { | 227 | if (fread(*buffer, sizeof(char), size, f) != size) { |
| 228 | usbmuxd_log(LL_ERROR, "%s: ERROR: couldn't read %d bytes from %s\n", __func__, (int)size, filename); | 228 | usbmuxd_log(LL_ERROR, "%s: ERROR: couldn't read %d bytes from %s", __func__, (int)size, filename); |
| 229 | } | 229 | } |
| 230 | fclose(f); | 230 | fclose(f); |
| 231 | 231 | ||
