diff options
| -rw-r--r-- | common/bloblist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bloblist.c b/common/bloblist.c index afed968ce01..d084be89958 100644 --- a/common/bloblist.c +++ b/common/bloblist.c @@ -300,7 +300,7 @@ int bloblist_apply_blobs(uint tag, int (*func)(void **data, int size)) } rec = rec_from_blob(blob - dat_off); - if (rec <= 0) { + if (!rec) { log_err("Blob corrupted\n"); return -ENOENT; } |
