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:
parent
ef2e30aaca
commit
17904e6253
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user