summary refs log tree commit diff
path: root/Functions/TCP/tcp_output
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/TCP/tcp_output')
-rw-r--r--Functions/TCP/tcp_output2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/TCP/tcp_output b/Functions/TCP/tcp_output
index b22b79412..69177bae0 100644
--- a/Functions/TCP/tcp_output
+++ b/Functions/TCP/tcp_output
@@ -29,7 +29,7 @@ fi
 # where data is coming from; also, it allows more predictable
 # behaviour in tcp_expect.
 if [[ -n $tprompt ]]; then
-  zgprintf -R -%s=$sess -%f=$read_fd -- $tprompt
+  zformat -f REPLY $tprompt "s:$sess" "f:$read_fd"
   # We will pass this back up.
   REPLY="$REPLY$*"
 else