summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;