Subject: Re: disk block number printing
To: None <david@l8s.co.uk>
From: M. Warner Losh <imp@bsdimp.com>
List: tech-kern
Date: 04/13/2003 10:21:29
In message: <20030413143001.C5939@snowdrop.l8s.co.uk>
            David Laight <david@l8s.co.uk> writes:
: #ifdef __daddr_t
: typedef __daddr_t daddr_t
: #undef __daddr_t
+ #define PRdaddr "%ld"
: #else
: typedef int64_t daddr_t
  #undef __daddr_t
+ #define PRdaddr "%lld"
: #endif

Maybe the right answer is to do the above, or _PRdaddr to avoid name
space pollution...

Warner