summaryrefslogtreecommitdiff
path: root/src/sms_list.c
diff options
context:
space:
mode:
authorJames Maki <jmaki@multitech.com>2010-05-07 10:12:55 -0500
committerJames Maki <jmaki@multitech.com>2010-05-07 10:12:55 -0500
commitb7e06668878af06fc6e74842861e725b982b142f (patch)
tree4709270926ad7fc804fd71d455503b6945224c0f /src/sms_list.c
parent2b85ae17d6c73c619d17f8987069c0e6aaf390a2 (diff)
downloadsms-utils-b7e06668878af06fc6e74842861e725b982b142f.tar.gz
sms-utils-b7e06668878af06fc6e74842861e725b982b142f.tar.bz2
sms-utils-b7e06668878af06fc6e74842861e725b982b142f.zip
add device lock
Diffstat (limited to 'src/sms_list.c')
-rw-r--r--src/sms_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sms_list.c b/src/sms_list.c
index 4e815fc..0ccec15 100644
--- a/src/sms_list.c
+++ b/src/sms_list.c
@@ -488,7 +488,7 @@ int sms_list(int argc, char **argv)
ret = do_list(fd, cmd_type, argc, argv);
- tty_close(fd);
+ sms_device_close(fd);
return ret;
}