]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mkfs.cramfs: use defined failure name rather than magic value
authorSami Kerola <kerolasa@iki.fi>
Sun, 13 Jul 2014 16:36:33 +0000 (17:36 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 13 Jul 2014 17:35:32 +0000 (18:35 +0100)
commit9cbf20040b2f8af98dcff0fc889208dde50e3dd4
tree1aaa2ded7ce3c50087fe77964a90a000426301e8
parent18b1fcb9cc62f4dd26eccd1c35f612ac6db1cd9b
mkfs.cramfs: use defined failure name rather than magic value

From manual page; 'On error, the value MAP_FAILED is returned, and errno
is set appropriately'.

Reference: http://man7.org/linux/man-pages/man2/mmap.2.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
disk-utils/mkfs.cramfs.c