summaryrefslogtreecommitdiff
path: root/vmesa/vmesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'vmesa/vmesa.c')
-rw-r--r--vmesa/vmesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vmesa/vmesa.c b/vmesa/vmesa.c
index 8bc733b5b7..7e3635f357 100644
--- a/vmesa/vmesa.c
+++ b/vmesa/vmesa.c
@@ -121,7 +121,7 @@ do_aspawn(SV* really, SV **mark, SV **sp)
status = FAIL;
if (sp > mark)
{
- New(401,PL_Argv, sp - mark + 1, char*);
+ Newx(PL_Argv, sp - mark + 1, char*);
a = PL_Argv;
while (++mark <= sp)
{
@@ -260,7 +260,7 @@ do_spawn(char *cmd, int execf)
}
}
- New(402,PL_Argv, (s - cmd) / 2 + 2, char*);
+ Newx(PL_Argv, (s - cmd) / 2 + 2, char*);
PL_Cmd = savepvn(cmd, s-cmd);
a = PL_Argv;
for (s = PL_Cmd; *s;)