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

Tim Potter tpot at samba.org
Mon Sep 12 21:52:13 GMT 2005


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?


Tim.


More information about the samba-cvs mailing list