aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-2.6.24
diff options
context:
space:
mode:
authorSteffen Sledz <sledz@dresearch.de>2010-02-01 17:22:14 +0100
committerSteffen Sledz <sledz@dresearch.de>2010-02-01 17:22:14 +0100
commitff31db47356816eeb4679dd53439fa06b285ca39 (patch)
treefeb7d6301250d018fb8dde1b98361602c31e4cf4 /recipes/linux/linux-2.6.24
parentd25a2e46fc9660ddeb939604b48b92ae3a3a8353 (diff)
downloadopenembedded-ff31db47356816eeb4679dd53439fa06b285ca39.tar.gz
rtc-drbcc: be a bit more verbose in case of errors
Signed-off-by: Steffen Sledz <sledz@dresearch.de>
Diffstat (limited to 'recipes/linux/linux-2.6.24')
-rw-r--r--recipes/linux/linux-2.6.24/hipox/hipox-rtc.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/linux/linux-2.6.24/hipox/hipox-rtc.patch b/recipes/linux/linux-2.6.24/hipox/hipox-rtc.patch
index 32093b57b0..8abadc92d4 100644
--- a/recipes/linux/linux-2.6.24/hipox/hipox-rtc.patch
+++ b/recipes/linux/linux-2.6.24/hipox/hipox-rtc.patch
@@ -376,7 +376,7 @@ diff -Nurd linux-2.6.24.orig//drivers/rtc/rtc-drbcc.c linux-2.6.24/drivers/rtc/r
+ PDEBUG(1, "opening %s", devpath);
+ filp = filp_open(devpath, O_RDWR | O_NOCTTY | O_NONBLOCK | O_NDELAY, 0);
+ if (IS_ERR(filp)) {
-+ PERROR("unable to open serial device to BCTRL: %s", devpath);
++ PERROR("unable to open serial device to BCTRL: %s (%d)", devpath, filp);
+ ret = PTR_ERR(filp);
+ goto end2;
+ }
@@ -452,7 +452,7 @@ diff -Nurd linux-2.6.24.orig//drivers/rtc/rtc-drbcc.c linux-2.6.24/drivers/rtc/r
+ PDEBUG(1, "opening %s", devpath);
+ filp = filp_open(devpath, O_RDWR | O_NOCTTY | O_NONBLOCK | O_NDELAY, 0);
+ if (IS_ERR(filp)) {
-+ PERROR("unable to open serial device to BCTRL: %s", devpath);
++ PERROR("unable to open serial device to BCTRL: %s (%d)", devpath, filp);
+ ret = PTR_ERR(filp);
+ goto end2;
+ }