aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpetershh <petershh@disroot.org>2022-08-03 12:13:02 +0300
committerPeter <santurysim@gmail.com>2022-08-03 12:24:06 +0300
commitaaf3b7a059f72375d09817d15758d92628990e65 (patch)
treebcf17ff6aa49ccecb2506c91c39743ad29346f98
parent568e9eab9c6a866ac2fa10f889e106a4e63c0581 (diff)
downloadshh-portable-utils-aaf3b7a059f72375d09817d15758d92628990e65.tar.xz
chmod: fix error message
-rw-r--r--src/shh-portable-utils/chmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shh-portable-utils/chmod.c b/src/shh-portable-utils/chmod.c
index acf58e3..18625a5 100644
--- a/src/shh-portable-utils/chmod.c
+++ b/src/shh-portable-utils/chmod.c
@@ -61,7 +61,7 @@ int main(int argc, char const *const *argv)
} else {
if (parse_mode_symbolic(argv[0], &directives) == -1) {
if (errno == EINVAL)
- strerr_diefu2sys(100, "invalid mode: ", argv[0]);
+ strerr_diefu2x(100, "invalid mode: ", argv[0]);
else
strerr_diefu1sys(111, "parse mode");
}