r11657: Tiny improvement to debug error message in dir_check_ftype.
authorPaul Green <paulg@samba.org>
Thu, 10 Nov 2005 21:34:25 +0000 (21:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:23 +0000 (11:05 -0500)
(This used to be commit 46674ca21d9c257bc48af97e313b49118c7b478d)

source3/smbd/dir.c

index c993012a2548891435e678e1d7ffb4beb9e8fc25..0635db22dbd13d9901d54bf77824fb4a428fa159 100644 (file)
@@ -802,7 +802,7 @@ BOOL get_dir_entry(connection_struct *conn,char *mask,uint32 dirtype, pstring fn
                        *mode = dos_mode(conn,pathreal,&sbuf);
 
                        if (!dir_check_ftype(conn,*mode,dirtype)) {
-                               DEBUG(5,("[%s] attribs didn't match %x\n",filename,(unsigned int)dirtype));
+                               DEBUG(5,("[%s] attribs 0x%x didn't match 0x%x\n",filename,(unsigned int)*mode,(unsigned int)dirtype));
                                continue;
                        }