about summary refs log tree commit diff
diff options
context:
space:
mode:
authorErrrorMaxx <herobrine135111@gmail.com>2023-10-21 09:05:52 +0300
committerMatthew Martin <phy1729@gmail.com>2023-10-24 20:42:46 -0500
commit0c15cc8712b5b3c83d52b1c27f416db80d3426aa (patch)
tree996d4693e78d4b51a9a2a7816405ea05126494fa
parent5fd8cccf54e8bda291b8f45ca9dacfa4205a1ced (diff)
downloadzsh-0c15cc8712b5b3c83d52b1c27f416db80d3426aa.tar.gz
zsh-0c15cc8712b5b3c83d52b1c27f416db80d3426aa.tar.xz
zsh-0c15cc8712b5b3c83d52b1c27f416db80d3426aa.zip
github #104: fix small typo
-rw-r--r--ChangeLog2
-rw-r--r--Src/exec.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e37c0057c..c3d68a6a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
 	* github #103: Christian Heusel: Completion/Unix/Command/_zfs: fix
 	completion for zpool upgrade
 
+	* github #104: ErrrorMaxx: Src/exec.c: fix small typo
+
 2023-10-16  Mikael Magnusson  <mikachu@gmail.com>
 
 	* 52056: Completion/Unix/Command/_sccs: _sccs: don't handle
diff --git a/Src/exec.c b/Src/exec.c
index 3a8b3e951..285d2c5ad 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -2388,7 +2388,7 @@ addfd(int forked, int *save, struct multio **mfds, int fd1, int fd2, int rflag,
 	/* fd will be over 10, don't touch mfds */
 	fd1 = movefd(fd2);
 	if (fd1 == -1) {
-	    zerr("cannot moved fd %d: %e", fd2, errno);
+	    zerr("cannot move fd %d: %e", fd2, errno);
 	    return;
 	} else {
 	    fdtable[fd1] = FDT_EXTERNAL;