if (fread(&buf, sizeof(char), 9, f) != 9 ||
strncmp(buf, "SIMcache", 8) != 0)
{
- DEBUG_1("%s is not a cache file\n", cd->path);
+ DEBUG_1("%s is not a cache file", cd->path);
success = 0;
}
}
if (!isdir(path))
{
- DEBUG_1("creating sub dir:%s\n", path);
+ DEBUG_1("creating sub dir:%s", path);
if (!mkdir_utf8(path, mode))
{
printf("create dir failed: %s\n", path);
if (utime(cachel, &ut) < 0 &&
errno == EPERM)
{
- DEBUG_1("cache permission workaround: %s\n", cachel);
+ DEBUG_1("cache permission workaround: %s", cachel);
ret = TRUE;
}
}