bin/df: Fix -Wformat-security

Change-Id: Ib8e3000f9b16ef055269728fde3adaf1005a4fba
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3353
Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
Murai Takashi
2020-10-28 16:26:35 +00:00
committed by Jérôme Duval
parent ef2e30aaca
commit 17904e6253
+1 -1
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);
}