]> git.webhop.me Git - lcd4linux.git/commitdiff
drv_st2205u: add verbose error message
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 11 Jan 2009 15:15:15 +0000 (15:15 +0000)
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 11 Jan 2009 15:15:15 +0000 (15:15 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@952 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_st2205.c

index beee45ccde8500e5bbb0fa7037c5e9a31a4c7f44..16064c8c46e887e29ff9828484f104e89e917bec 100644 (file)
@@ -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;
 }