]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
printf: Fix missing arguments for %u/%o/%x/%X after r265592.
authorjilles <jilles@FreeBSD.org>
Tue, 13 May 2014 21:24:55 +0000 (21:24 +0000)
committerjilles <jilles@FreeBSD.org>
Tue, 13 May 2014 21:24:55 +0000 (21:24 +0000)
commit2096c463802cf27feb8a38c7e34dc14d3a65fa50
tree923641f6e9b373b08ce40ca6230cb1b056bd61c2
parentf14c076ec7c8287b78e1359e537ee6d6e2adb9ea
printf: Fix missing arguments for %u/%o/%x/%X after r265592.

If a numeric argument is missing, zero should be assumed, for signed as well
as unsigned conversions.

This fixes the 'zero' regression tests.

r265592 erroneously reverted r244407.
usr.bin/printf/printf.c