aboutsummaryrefslogtreecommitdiff
path: root/src/sman/sman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sman/sman.c')
-rw-r--r--src/sman/sman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sman/sman.c b/src/sman/sman.c
index 8fa71a67..4488948a 100644
--- a/src/sman/sman.c
+++ b/src/sman/sman.c
@@ -137,7 +137,7 @@ unsigned char _INTR, _QUIT, _ERASE, _KILL, _EOF, _EOL, _RES1, _RES2;
/*************************************/
int ptsNum, ptcNum;
-char ptsPath[20], ptcPath[20];
+char ptsPath[20];
char **new_envp; /* new environment for the core executable */
int child_pid; /* child's process id */
@@ -556,7 +556,7 @@ start_the_Axiom(char **envp)
fprintf(stderr, "could not get an OpenAxiom server number\n");
exit(-1);
}
- if (ptyopen(&ptcNum, &ptsNum, ptcPath, ptsPath) == -1) {
+ if (ptyopen(&ptcNum, &ptsNum, ptsPath) == -1) {
perror("start_the_Axiom: ptyopen failed");
exit(-1);
}