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:
parent
b9dab9f4c6
commit
423fc83dfd
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue