summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index 79d30c8..3e1ca88 100644
--- a/process.c
+++ b/process.c
@@ -612,7 +612,7 @@ rb_f_system(argc, argv)
}
argv[0] = RARRAY(argv[0])->ptr[0];
}
- cmd = rb_ary_join(ary_new4(argc, argv), rb_str_new2(" "));
+ cmd = rb_ary_join(rb_ary_new4(argc, argv), rb_str_new2(" "));
Check_SafeStr(cmd);
state = do_spawn(RSTRING(cmd)->ptr);
@@ -631,7 +631,7 @@ rb_f_system(argc, argv)
}
argv[0] = RARRAY(argv[0])->ptr[0];
}
- cmd = rb_ary_join(ary_new4(argc, argv), rb_str_new2(" "));
+ cmd = rb_ary_join(rb_ary_new4(argc, argv), rb_str_new2(" "));
Check_SafeStr(cmd);
state = system(RSTRING(cmd)->ptr);