about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-01-04 17:24:01 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-01-04 17:24:01 +0000
commit46a163bd348f462e11cf4bc326b17735a93b9980 (patch)
tree8b2c845f14c2cd7afaac49351113ed33a01a5303 /Src/builtin.c
parentcfbcd2dbe0ddcb18d8011e20058d1081d33f697a (diff)
downloadzsh-46a163bd348f462e11cf4bc326b17735a93b9980.tar.gz
zsh-46a163bd348f462e11cf4bc326b17735a93b9980.tar.xz
zsh-46a163bd348f462e11cf4bc326b17735a93b9980.zip
23088: printf formats and arguments need different octal escape sequences
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index d756b28bb..8e579d24e 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -3490,7 +3490,7 @@ bin_print(char *name, char **args, Options ops, int func)
 	fmt = OPT_ARG(ops,'f');
     if (fmt)
 	fmt = getkeystring(fmt, &flen, OPT_ISSET(ops,'b') ? GETKEYS_BINDKEY :
-			   GETKEYS_PRINTF, &fmttrunc);
+			   GETKEYS_PRINTF_FMT, &fmttrunc);
 
     first = args;
     
@@ -3954,7 +3954,7 @@ bin_print(char *name, char **args, Options ops, int func)
 			b = getkeystring(metafy(curarg, curlen, META_USEHEAP),
 					 &l,
 					 OPT_ISSET(ops,'b') ? GETKEYS_BINDKEY :
-					 GETKEYS_PRINTF, &nnl);
+					 GETKEYS_PRINTF_ARG, &nnl);
 		    } else {
 			b = curarg;
 			l = curlen;