summaryrefslogtreecommitdiff
path: root/spectro/munki.c
diff options
context:
space:
mode:
Diffstat (limited to 'spectro/munki.c')
-rw-r--r--spectro/munki.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/spectro/munki.c b/spectro/munki.c
index df54cd9..57f5ce8 100644
--- a/spectro/munki.c
+++ b/spectro/munki.c
@@ -66,7 +66,7 @@ static inst_code munki_interp_code(munki *p, munki_code ec);
/* Establish communications with a Munki */
/* If it's a serial port, use the baud rate given, and timeout in to secs */
-/* Return MUNKI_COMS_FAIL on failure to establish communications */
+/* Return DTP_COMS_FAIL on failure to establish communications */
static inst_code
munki_init_coms(inst *pp, baud_rate br, flow_control fc, double tout) {
munki *p = (munki *) pp;
@@ -937,7 +937,6 @@ munki_del(inst *pp) {
del_munkiimp(p);
if (p->icom != NULL)
p->icom->del(p->icom);
- p->vdel(pp);
free(p);
}