aboutsummaryrefslogtreecommitdiffstats
path: root/drv_st2205.c
diff options
context:
space:
mode:
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-01-11 15:15:15 +0000
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-01-11 15:15:15 +0000
commitd741c22fb8fa0eb0585bb03845790c80bb18c408 (patch)
treeee25441ec3587108e837e1778f3ade0256b9deb2 /drv_st2205.c
parent391c11925736abbffdb79b17200478f7013cebd6 (diff)
downloadlcd4linux-d741c22fb8fa0eb0585bb03845790c80bb18c408.tar.gz
drv_st2205u: add verbose error message
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@952 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_st2205.c')
-rw-r--r--drv_st2205.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drv_st2205.c b/drv_st2205.c
index beee45c..16064c8 100644
--- a/drv_st2205.c
+++ b/drv_st2205.c
@@ -75,8 +75,10 @@ static int drv_st2205_open(const char *section)
}
h = st2205_open(dev);
- if (h == NULL)
+ if (h == NULL) {
+ error("st2205: cannot open st2205 device %s", dev);
return -1;
+ }
return 0;
}