comparison loadtools/compalload.c @ 44:b77005f6d315

loadtools: migration to /opt/freecalypso
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Oct 2016 05:55:04 +0000
parents e7502631a0f9
children 8c011177adb9
comparison
equal deleted inserted replaced
43:647a7bdba4be 44:b77005f6d315
14 #include <string.h> 14 #include <string.h>
15 #include <strings.h> 15 #include <strings.h>
16 #include <termios.h> 16 #include <termios.h>
17 #include <unistd.h> 17 #include <unistd.h>
18 18
19 extern char default_helpers_dir[]; 19 extern char default_compalstage_dir[];
20 extern char *target_ttydev; 20 extern char *target_ttydev;
21 extern int target_fd; 21 extern int target_fd;
22 extern struct termios target_termios; 22 extern struct termios target_termios;
23 23
24 static char compalstage_pathname[MAXPATHLEN]; 24 static char compalstage_pathname[MAXPATHLEN];
31 set_compalstage_short(arg) 31 set_compalstage_short(arg)
32 char *arg; 32 char *arg;
33 { 33 {
34 if (strcmp(arg, "none")) 34 if (strcmp(arg, "none"))
35 sprintf(compalstage_pathname, "%s/compalstage-%s.bin", 35 sprintf(compalstage_pathname, "%s/compalstage-%s.bin",
36 default_helpers_dir, arg); 36 default_compalstage_dir, arg);
37 else 37 else
38 compalstage_pathname[0] = 0; 38 compalstage_pathname[0] = 0;
39 } 39 }
40 40
41 void 41 void