summaryrefslogtreecommitdiff
path: root/src/sms_list.c
diff options
context:
space:
mode:
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;
}