blockd: print symlink error code and string message
authorRafał Miłecki <rafal@milecki.pl>
Sat, 28 Dec 2019 21:29:03 +0000 (22:29 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Sat, 21 Mar 2020 21:39:03 +0000 (22:39 +0100)
commit84965b92f635c09d11b640ebcb64402e09ae42b8
treee5b928ee62926c4255a5cf28d93b7374e8899ff4
parentdeb745f82b93b3bd12273cfb16deb7417fc555ef
blockd: print symlink error code and string message

It may help understanding failure reason, e.g.:
blockd: failed to symlink /mnt/sda1->/tmp/run/blockd/sda1 (17) - File exists

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
blockd.c