File netatalk-wrong-error-message.patch of Package netatalk.openSUSE_13.1_Update

Index: bin/ad/ad_util.c
===================================================================
--- bin/ad/ad_util.c.orig	2013-05-13 10:20:29.000000000 +0200
+++ bin/ad/ad_util.c	2013-12-10 10:57:51.056419921 +0100
@@ -273,6 +273,7 @@
     for (int i = 0; i < l->qty ; i++) {
         *did = cnid;
 
+        EC_ZERO(bcatcstr(statpath, "/"));
         EC_ZERO(bconcat(statpath, l->entry[i]));
         EC_ZERO_LOGSTR(lstat(cfrombstr(statpath), &st),
                        "lstat(rpath: %s, elem: %s): %s: %s",
@@ -287,7 +288,6 @@
                              0)) == CNID_INVALID) {
             EC_FAIL;
         }
-        EC_ZERO(bcatcstr(statpath, "/"));
     }
 
 EC_CLEANUP:
openSUSE Build Service is sponsored by