diff options
author | Devin Teske <dteske@FreeBSD.org> | 2016-01-27 15:28:23 +0000 |
---|---|---|
committer | Devin Teske <dteske@FreeBSD.org> | 2016-01-27 15:28:23 +0000 |
commit | 116cc28a358fb1a1ad2992af08125e03baab2033 (patch) | |
tree | f9a5ad9fe8fbaef3773fc339b8ab324d284c1b4e /usr.sbin | |
parent | 832c5c396017ad364a04181270841a98a6bdf9cc (diff) | |
download | src-116cc28a358fb1a1ad2992af08125e03baab2033.tar.gz src-116cc28a358fb1a1ad2992af08125e03baab2033.zip |
Fix fatal warn when compiling under GCC 5.2.0
GCC 5.2.0 generates the following [fatal] warning:
dialog_util.c:270:23: error:
zero-length gnu_printf format string [-Werror=format-zero-length]
sprintf(dargv[n++], "");
Fix malloc argument while here, removing sprintf.
Reported by: Ruslan Bukin <ruslan.bukin at cl cam ac uk>
Notes
Notes:
svn path=/head/; revision=294922
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions