Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2002 04:05:07 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/ccd ccd.c
Message-ID:  <200205251105.g4PB57h41863@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

bde         2002/05/25 04:05:07 PDT

  Modified files:
    sys/dev/ccd          ccd.c 
  Log:
  Fixed printf format errors.  Most of them are 64-bit daddr_t casualties.
  Printing daddr_t's using %d format was always an error, but gcc's
  warning about it was ignored for supported 64-bit arches and not printed
  for supported 32-bit arches.  Hundreds if not thousands thousands of
  previously "fixed" daddr_t printings are now broken on 32-bit machines
  by casting daddr_t's to longs.  daddr_t's should be printed using %jd
  format, but this fix uses %lld since %j is not implemented in the
  kernel yet.
  
  Fixed some nearby format printf errors (style bugs).
  
  Revision  Changes    Path
  1.105     +6 -4      src/sys/dev/ccd/ccd.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205251105.g4PB57h41863>