This is a delta between v1 and v2 of the patches. I pushed v1 instead of
picking v2, and this is a fixup.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
if (ifd == STDIN_FILENO) {
imglen = inputsize ? : pagelen;
if (inputskip) {
- errmsg("seeking stdin does not work");
+ errmsg("seeking stdin not supported");
goto closeall;
}
} else {
sys_errmsg("unable to stat input image");
goto closeall;
}
- imglen = st.st_size;
+ imglen = st.st_size - inputskip;
} else
imglen = inputsize;