cvs commit: src/sys/kern kern_synch.c subr_sleepqueue.c

Bruce Evans bde at FreeBSD.org
Fri May 14 13:51:43 PDT 2004


bde         2004/05/14 13:51:42 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_synch.c subr_sleepqueue.c 
  Log:
  Fixed some common printf format errors.  Don't assume that "struct foo *"
  is "void *" (it isn't) or that the default promotion of pid_t is int.
  Instead, assume that casting "struct foo *" to "void *" and printing the
  result with %p is useful, and that all pid_t's are representable as longs.
  
  Fixed some minor style bugs (mainly spelling errors in comments).
  
  Revision  Changes    Path
  1.248     +14 -19    src/sys/kern/kern_synch.c
  1.7       +13 -14    src/sys/kern/subr_sleepqueue.c


More information about the cvs-src mailing list