FreeCalypso > hg > freecalypso-hwlab
diff simtool/pbcommon.c @ 105:b1bf0ec6fff5
fc-simtool: pb-dump: first round of bugfixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 25 Jan 2021 05:59:33 +0000 |
parents | a60645b75a57 |
children |
line wrap: on
line diff
--- a/simtool/pbcommon.c Mon Jan 25 05:55:40 2021 +0000 +++ b/simtool/pbcommon.c Mon Jan 25 05:59:33 2021 +0000 @@ -39,11 +39,11 @@ struct map *tp; int rc; - for (tp = phonebook_map; *tp->user_name; tp++) + for (tp = phonebook_map; tp->user_name; tp++) if (!strcmp(tp->user_name, reqname)) break; if (!tp->canon_name) { - fprintf(stderr, "error: phone book name \"%s\" not known", + fprintf(stderr, "error: phone book name \"%s\" not known\n", reqname); return(-1); }