Cygwin: utils: ps: use fputs to print fixed strings

Avoid gcc warning "format not a string literal and no format arguments"

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2018-08-09 08:41:18 +02:00
parent b9dab9f4c6
commit 423fc83dfd
1 changed files with 3 additions and 3 deletions

View File

@ -223,11 +223,11 @@ main (int argc, char *argv[])
}
if (sflag)
printf (dtitle);
fputs (dtitle, stdout);
else if (fflag)
printf (ftitle);
fputs (ftitle, stdout);
else if (lflag)
printf (ltitle);
fputs (ltitle, stdout);
(void) cygwin_internal (CW_LOCK_PINFO, 1000);