- addlog(...) is identical to log(-1, ...). Get rid of it to avoid
authorSascha Wildner <swildner@dragonflybsd.org>
Tue, 26 Dec 2006 11:01:07 +0000 (11:01 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Tue, 26 Dec 2006 11:01:07 +0000 (11:01 +0000)
commita0a36cfdb2cb0d361f8187c891cf64a33bfd15de
treed37a14ab8dbb3089f9ec2bc6498dbeef5381c11f
parent97983c9eba4fd18913a40b2e3b30fdb6aa0f1e9b
- addlog(...) is identical to log(-1, ...). Get rid of it to avoid
  duplicate code and change sppp(4) to use log(-1, ...).

- Add support for the 'j' and 't' size modifiers.

- Add support for the 'i' (alias for 'd'), 'n' and 'X' conversions. Use
  uintmax_t in ksprintn() and get rid of ksprintqn(). Do some structural
  cleanup in kvcprintf().

- Make 'z' modifier always print values as signed.

- Change a return to a break to properly free the local buffers.

- When padding with zero, do pad after prefixes rather than before.

- Perform some style(9) cleanup.

Taken-from (with some adjustments): FreeBSD
sys/kern/subr_disk.c
sys/kern/subr_prf.c
sys/net/sppp/if_spppsubr.c
sys/sys/systm.h