]> arthur.barton.de Git - netatalk.git/commitdiff
Fix to arg in log statement
authorfranklahm <franklahm>
Tue, 19 Jan 2010 14:51:18 +0000 (14:51 +0000)
committerfranklahm <franklahm>
Tue, 19 Jan 2010 14:51:18 +0000 (14:51 +0000)
etc/afpd/filedir.c

index c91ca7d00552809df71d60ac237c4558553f1bd2..b88a8645fa32c957bebf32e2867720397954b3f5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: filedir.c,v 1.67 2010-01-18 12:55:28 franklahm Exp $
+ * $Id: filedir.c,v 1.68 2010-01-19 14:51:18 franklahm Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -172,7 +172,7 @@ int afp_getfildirparams(AFPObj *obj _U_, char *ibuf, size_t ibuflen _U_, char *r
     }
 
     LOG(log_debug, logtype_afpd, "getfildirparams(vid:%u, did:%u, name:'%s', f/d:%04x/%04x) {cwd: %s}",
-        ntohs(vid), ntohl(did), s_path->u_name, fbitmap, dbitmap, getcwdpath());
+        ntohs(vid), ntohl(dir->d_did), s_path->u_name, fbitmap, dbitmap, getcwdpath());
 
     st   = &s_path->st;
     if (!s_path->st_valid) {