FreeCalypso > hg > freecalypso-hwlab
comparison simtool/pbupdate.c @ 126:f18b87115cca
fc-simtool: typo fix in error message
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 29 Jan 2021 03:18:17 +0000 |
parents | 70219d92c32e |
children |
comparison
equal
deleted
inserted
replaced
125:ddff76088d12 | 126:f18b87115cca |
---|---|
376 for (acclen = 0; *cp; ) { | 376 for (acclen = 0; *cp; ) { |
377 c = *cp++; | 377 c = *cp++; |
378 if (c == '\\') { | 378 if (c == '\\') { |
379 if (*cp == '\0') { | 379 if (*cp == '\0') { |
380 fprintf(stderr, | 380 fprintf(stderr, |
381 "error: danging backslash escape\n"); | 381 "error: dangling backslash escape\n"); |
382 return(-1); | 382 return(-1); |
383 } | 383 } |
384 c = *cp++; | 384 c = *cp++; |
385 switch (c) { | 385 switch (c) { |
386 case 'n': | 386 case 'n': |