aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec/exec.c')
-rw-r--r--exec/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/exec.c b/exec/exec.c
index 0d9187cabfa..935c94a59af 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -1036,7 +1036,7 @@ exec_0 (char *name, struct exec_tracee *tracee,
1036 } 1036 }
1037 1037
1038 /* Add a directory separator if necessary. */ 1038 /* Add a directory separator if necessary. */
1039 1039
1040 if (!link_size || buffer1[link_size - 1] != '/') 1040 if (!link_size || buffer1[link_size - 1] != '/')
1041 buffer1[link_size] = '/', link_size++; 1041 buffer1[link_size] = '/', link_size++;
1042 1042