]> arthur.barton.de Git - netatalk.git/commitdiff
logtype is wrong, again... at master
authorHAT <hat@fa2.so-net.ne.jp>
Tue, 8 Mar 2011 17:25:09 +0000 (02:25 +0900)
committerHAT <hat@fa2.so-net.ne.jp>
Tue, 8 Mar 2011 17:25:09 +0000 (02:25 +0900)
etc/afpd/volume.c

index 228e187bf4e217bae3d9121a8bcd43cbd03c7c7b..2677504d80be4796ab6093d66031d859a38eaa76 100644 (file)
@@ -2750,12 +2750,12 @@ char *get_uuid(const AFPObj *obj, const char *volname)
 
     if (stat(obj->options.uuidconf, &tmpstat)) {                /* no file */
         if (( fd = creat(obj->options.uuidconf, 0644 )) < 0 ) {
-            LOG(log_error, logtype_atalkd, "ERROR: Cannot create %s (%s).",
+            LOG(log_error, logtype_afpd, "ERROR: Cannot create %s (%s).",
                 obj->options.uuidconf, strerror(errno));
             return NULL;
         }
         if (( fp = fdopen( fd, "w" )) == NULL ) {
-            LOG(log_error, logtype_atalkd, "ERROR: Cannot fdopen %s (%s).",
+            LOG(log_error, logtype_afpd, "ERROR: Cannot fdopen %s (%s).",
                 obj->options.uuidconf, strerror(errno));
             close(fd);
             return NULL;