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