X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fsync.c;h=6341415a3c94660799725836c4a3a71ea2dbf658;hb=c4bf633211b0424492b5a3937d6a6d2e0d79a4cf;hp=5faada81c7531a68333905c63e32f350b14af576;hpb=6c475b0d66dff5ba9c12b3d1a3bbb16816ce3e2b;p=libucw.git diff --git a/lib/sync.c b/lib/sync.c index 5faada81..6341415a 100644 --- a/lib/sync.c +++ b/lib/sync.c @@ -10,7 +10,7 @@ #include void -sync_dir(const byte *name) +sync_dir(const char *name) { int fd = open(name, O_RDONLY #ifdef CONFIG_LINUX @@ -24,5 +24,5 @@ sync_dir(const byte *name) 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); }