"No such file or directory" is a misleading error message
when a user tries to open a file with wrong permissions.
v2: return an 0/-errno int and pass the BlockDriver* by reference
as suggested by Kevin Wolf
Cc: Kevin Wolf
Signed-off-by: Stefan Weil
---
block.c | 27 +++--
"No such file or directory" is a misleading error message
when a user tries to open a file with wrong permissions.
Cc: Kevin Wolf
Signed-off-by: Stefan Weil
---
block.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/block.c b/block.c
index f837876..2f80540 1