]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/adouble/ad_open.c
Reduce log clutter
[netatalk.git] / libatalk / adouble / ad_open.c
index d179e1114cbd2cfe7c8d0b7b62dfd47ab646780d..9b8d34865874413808656df8ab95cdb00585a34f 100644 (file)
@@ -1027,7 +1027,7 @@ static int ad_open_hf_ea(const char *path, int adflags, int mode, struct adouble
                 /* For directories we open the directory RDONYL so we can later fchdir()  */
                 oflags = (oflags & ~O_RDWR) | O_RDONLY;
             LOG(log_debug, logtype_default, "ad_open_hf_ea(\"%s\"): opening base file for meta adouble EA", path);
-            EC_NEG1_LOG(ad_meta_fileno(ad) = open(path, oflags));
+            EC_NEG1(ad_meta_fileno(ad) = open(path, oflags));
             opened = 1;
             ad->ad_mdp->adf_flags = oflags;
         }