]> arthur.barton.de Git - netatalk.git/commitdiff
Fix a log messsage
authorRalph Boehme <sloowfranklin@gmail.com>
Wed, 5 Dec 2012 10:26:09 +0000 (11:26 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Wed, 5 Dec 2012 10:26:09 +0000 (11:26 +0100)
etc/afpd/directory.c

index 854b6941c2aadf04a58ce703fbdab80dd866b58c..46670e9680dac0d646273d8c3e21991167da1c00 100644 (file)
@@ -2308,7 +2308,7 @@ int deletecurdir(struct vol *vol)
             /* bail if it's not a symlink */
             if ((lstat(de->d_name, &st) == 0) && !S_ISLNK(st.st_mode)) {
                 LOG(log_error, logtype_afpd, "deletecurdir(\"%s\"): not empty",
-                    curdir->d_fullpath);
+                    bdata(curdir->d_fullpath));
                 closedir(dp);
                 return AFPERR_DIRNEMPT;
             }