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 '')
-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;
}
='#n145'>145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211