about summary refs log tree commit diff
path: root/Src/Zle/zle_tricky.c
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2009-01-05 11:14:53 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2009-01-05 11:14:53 +0000
commitead23b1898365ad86d90bf67a7be58278cc7ac71 (patch)
treedcc9f866fa10c75bd19dd313878937695bec6c74 /Src/Zle/zle_tricky.c
parente2fd1d7f1a7c9c6a5ebbb5a9102ac824bbbe51f7 (diff)
downloadzsh-ead23b1898365ad86d90bf67a7be58278cc7ac71.tar.gz
zsh-ead23b1898365ad86d90bf67a7be58278cc7ac71.tar.xz
zsh-ead23b1898365ad86d90bf67a7be58278cc7ac71.zip
26247: fix compilation with -Werror=format-security
Diffstat (limited to 'Src/Zle/zle_tricky.c')
-rw-r--r--Src/Zle/zle_tricky.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index dbb01f483..f9ae3aa1b 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -2286,7 +2286,7 @@ printfmt(char *fmt, int n, int dopr, int doesc)
 		case 'n':
 		    sprintf(nc, "%d", n);
 		    if (dopr)
-			fprintf(shout, nc);
+			fputs(nc, shout);
 		    cc += MB_METASTRWIDTH(nc);
 		    break;
 		case 'B':