summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-09-27 08:15:11 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-09-27 08:15:11 +0000
commit3ad854caf7f9f61d57d15d8e211f507a5936f8e4 (patch)
tree5df1e3bc2e3b697611ba07ec0ff62fd9871e86a7 /tests
parent69ea72273938f560ea7b3209b931e7e36ee75862 (diff)
downloadpaxutils-3ad854caf7f9f61d57d15d8e211f507a5936f8e4.tar.gz
(exec_command): Add extra spaces.
Diffstat (limited to 'tests')
-rw-r--r--tests/genfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/genfile.c b/tests/genfile.c
index b4a8cea..3bb3816 100644
--- a/tests/genfile.c
+++ b/tests/genfile.c
@@ -718,8 +718,8 @@ exec_command (void)
FIXME: This assumes that exec_argv does not use traditional tar options
(without dash) */
exec_argc++;
- exec_argv = xrealloc (exec_argv, exec_argc * sizeof (*exec_argv));
- memmove (exec_argv+2, exec_argv+1, (exec_argc-1)*sizeof (*exec_argv));
+ exec_argv = xrealloc (exec_argv, (exec_argc + 1) * sizeof (*exec_argv));
+ memmove (exec_argv+2, exec_argv+1, (exec_argc - 1) * sizeof (*exec_argv));
exec_argv[1] = "--checkpoint";
#ifdef SIGCHLD