summaryrefslogtreecommitdiffstats
path: root/common/ratp/mw.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/ratp/mw.c')
-rw-r--r--common/ratp/mw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/ratp/mw.c b/common/ratp/mw.c
index 8945799f1d..87dc8cb95c 100644
--- a/common/ratp/mw.c
+++ b/common/ratp/mw.c
@@ -133,6 +133,7 @@ static int ratp_cmd_mw(const struct ratp_bb *req, int req_len,
fd = open_and_lseek(path, O_RWSIZE_1 | O_WRONLY, addr);
if (fd < 0) {
+ printf("Could not open \"%s\": %m\n", path);
ret = -errno;
goto out;
}