diff options
Diffstat (limited to 'utils/ipu3/ipu3-unpack.c')
-rw-r--r-- | utils/ipu3/ipu3-unpack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ipu3/ipu3-unpack.c b/utils/ipu3/ipu3-unpack.c index 9d2c1200..c96fafed 100644 --- a/utils/ipu3/ipu3-unpack.c +++ b/utils/ipu3/ipu3-unpack.c @@ -78,7 +78,7 @@ int main(int argc, char *argv[]) } ret = write(out_fd, out_data, 50); - if (ret < -1) { + if (ret == -1) { fprintf(stderr, "Failed to write output data: %s\n", strerror(errno)); goto done; |