bin/df: Fix -Wformat-security

Change-Id: Ib8e3000f9b16ef055269728fde3adaf1005a4fba
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3353
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Murai Takashi 2020-10-14 21:08:42 +09:00 committed by Jérôme Duval
parent ef2e30aaca
commit 17904e6253

View File

@ -22,7 +22,7 @@
void
PrintFlag(uint32 deviceFlags, uint32 testFlag, const char *yes, const char *no)
{
printf(deviceFlags & testFlag ? yes : no);
printf("%s", deviceFlags & testFlag ? yes : no);
}