summaryrefslogtreecommitdiffstats
path: root/libk8055
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-02-28 01:05:59 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-02-28 01:05:59 +0100
commit2bbeb8643b2618fe05c362e0fa87e37cf9f689e0 (patch)
tree30ccb5bb970f1acf65d8530e2de45b66b092856a /libk8055
parentb8b9bf4f2944e7f6bc76e98aea1249915943e612 (diff)
downloadk8055-2bbeb8643b2618fe05c362e0fa87e37cf9f689e0.zip
k8055-2bbeb8643b2618fe05c362e0fa87e37cf9f689e0.tar.gz
oooops shame on me
Diffstat (limited to 'libk8055')
-rw-r--r--libk8055/libk8055.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libk8055/libk8055.c b/libk8055/libk8055.c
index ad34212..a2eef7c 100644
--- a/libk8055/libk8055.c
+++ b/libk8055/libk8055.c
@@ -252,7 +252,7 @@ int CloseDevice() {
if (debug) fprintf(stderr, "Current device is not open\n" );
return 0;
}
- if(curr_dev->dev_hanlde==NULL) {
+ if(curr_dev->device_handle==NULL) {
if (debug) fprintf(stderr, "Current device is marked as open, but device hanlde is NULL\n" );
curr_dev->dev_no = 0;
return 0;