fix scanf handling of "0" (followed by immediate EOF) with "%x"
[musl] / lib /
drwxr-xr-x   ..
-rw-r--r-- 0 empty