#include <unistd.h>
void
-sync_dir(byte *name)
+sync_dir(const char *name)
{
int fd = open(name, O_RDONLY
#ifdef CONFIG_LINUX
if (err >= 0)
return;
err:
- log(L_ERROR, "Unable to sync directory %s: %m", name);
+ msg(L_ERROR, "Unable to sync directory %s: %m", name);
}