forked from len0rd/rockbox
logf: Correct two format string problems in plugins
Change-Id: I67ab14b2079de8fb660aaa5c1391db053aad2cc5
This commit is contained in:
parent
87e55baaad
commit
03555cc7b5
2 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ static int arg_callback(char argchar, const char **parameter, void *userdata)
|
||||||
{
|
{
|
||||||
pfp->tree_attr = (num)&FILE_ATTR_MASK;
|
pfp->tree_attr = (num)&FILE_ATTR_MASK;
|
||||||
pfp->flags |= FIND_ATTRIB;
|
pfp->flags |= FIND_ATTRIB;
|
||||||
logf ("Attrib: Val: 0x%x\n", (uint32_t)num);
|
logf("Attrib: Val: 0x%lx\n", (uint32_t)num);
|
||||||
logf("ate %d chars\n", ret);
|
logf("ate %d chars\n", ret);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -332,7 +332,7 @@ int scrobbler_init_cache(void)
|
||||||
|
|
||||||
if (gCache.size < reqsz)
|
if (gCache.size < reqsz)
|
||||||
{
|
{
|
||||||
logf("SCROBBLER: OOM , %ld < req:%zu", gCache.size, reqsz);
|
logf("SCROBBLER: OOM , %zu < req:%zu", gCache.size, reqsz);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
gCache.force_flush = true;
|
gCache.force_flush = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue