From: michux Date: Sun, 11 Jan 2009 15:15:15 +0000 (+0000) Subject: drv_st2205u: add verbose error message X-Git-Tag: svn1203~251 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=d741c22fb8fa0eb0585bb03845790c80bb18c408;p=lcd4linux.git drv_st2205u: add verbose error message git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@952 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- 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; }