about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;