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:
committed by
Jérôme Duval
parent
ef2e30aaca
commit
17904e6253
+1
-1
@@ -22,7 +22,7 @@
|
|||||||
void
|
void
|
||||||
PrintFlag(uint32 deviceFlags, uint32 testFlag, const char *yes, const char *no)
|
PrintFlag(uint32 deviceFlags, uint32 testFlag, const char *yes, const char *no)
|
||||||
{
|
{
|
||||||
printf(deviceFlags & testFlag ? yes : no);
|
printf("%s", deviceFlags & testFlag ? yes : no);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user