Fix another possible bufer overflow in top.

PR: bin/22496
This commit is contained in:
imp 2000-11-03 22:00:10 +00:00
parent b25d88f34a
commit c4b431fb58

View File

@ -826,7 +826,7 @@ Usage: %s [-ISbinqut] [-d x] [-s x] [-o field] [-U username] [number]\n",
{ {
if ((errmsg = renice_procs(tempbuf2)) != NULL) if ((errmsg = renice_procs(tempbuf2)) != NULL)
{ {
new_message(MT_standout, errmsg); new_message(MT_standout, "%s", errmsg);
putchar('\r'); putchar('\r');
no_command = Yes; no_command = Yes;
} }