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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/ratp/mw.c b/common/ratp/mw.c
index 772910b39d..87dc8cb95c 100644
--- a/common/ratp/mw.c
+++ b/common/ratp/mw.c
@@ -2,9 +2,6 @@
* Copyright (c) 2011-2018 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
* Copyright (c) 2018 Zodiac Inflight Innovations
*
- * See file CREDITS for list of people who contributed to this
- * project.
- *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
@@ -136,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;
}