summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32unix/system.c')
-rw-r--r--otherlibs/win32unix/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/win32unix/system.c b/otherlibs/win32unix/system.c
index a02cdf55a..ecbc0e571 100644
--- a/otherlibs/win32unix/system.c
+++ b/otherlibs/win32unix/system.c
@@ -26,10 +26,10 @@ value win_system(cmd)
enter_blocking_section();
_flushall();
- ret = system(String_val(c));;
+ ret = system(String_val(cmd));;
leave_blocking_section();
if (ret == -1) uerror("system", Nothing);
- st = alloc(1, 0); /* 0: Exited */
+ st = alloc(1, 0); /* Tag 0: Exited */
Field(st, 0) = Val_int(ret);
return st;
}