comparison libpwon/readconf.c @ 736:7d1df6d831e4

libpwon: added -Pdtr and -Prts support for DUART28C
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 16 Sep 2020 03:40:51 +0000
parents 41b3e010808d
children ab54957dbe35
comparison
equal deleted inserted replaced
735:5b8287c655cf 736:7d1df6d831e4
16 FILE *inf; 16 FILE *inf;
17 char linebuf[MAX_BOOTCTRL_CONF_LINE+2]; 17 char linebuf[MAX_BOOTCTRL_CONF_LINE+2];
18 int lineno; 18 int lineno;
19 char *cp, *np; 19 char *cp, *np;
20 20
21 if (bootctrl_check_duart28c(soughtname))
22 return(0);
21 inf = fopen(conf_file_pathname, "r"); 23 inf = fopen(conf_file_pathname, "r");
22 if (!inf) { 24 if (!inf) {
23 perror(conf_file_pathname); 25 perror(conf_file_pathname);
24 return(-1); 26 return(-1);
25 } 27 }