svn commit: samba r10189 - in trunk/source/smbd: .

Jeremy Allison jra at samba.org
Mon Sep 12 22:06:12 GMT 2005


On Tue, Sep 13, 2005 at 07:52:13AM +1000, Tim Potter wrote:
> On Mon, 2005-09-12 at 21:51 +0000, jra at samba.org wrote:
> 
> > Changeset:
> > Modified: trunk/source/smbd/process.c
> > ===================================================================
> > --- trunk/source/smbd/process.c	2005-09-12 21:50:32 UTC (rev 10188)
> > +++ trunk/source/smbd/process.c	2005-09-12 21:51:12 UTC (rev 10189)
> > @@ -238,7 +238,7 @@
> >  static int timed_event_destructor(void *p)
> >  {
> >  	struct timed_event *te = talloc_get_type_abort(p, struct timed_event);
> > -	DEBUG(10, ("Destroying timed event %x \"%s\"\n", (unsigned)te,
> > +	DEBUG(10, ("Destroying timed event %lx \"%s\"\n", (unsigned long)te,
> >  		   te->event_name));
> 
> Hi Jeremy.  Isn't %p a better format code for displaying a pointer than
> %lx?

But is it standard and available everywhere ?


More information about the samba-technical mailing list