about summary refs log tree commit diff
path: root/Src/Modules/attr.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-11-05 09:44:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-11-05 09:44:32 +0000
commit39e4cfd4db1615f50cff0d5dfd7921a72ee8d125 (patch)
treea0636b53b5f86945a500f5b630cd34dd0319ae25 /Src/Modules/attr.c
parenteeb5b6c941c7ae0ec832e9ce569b23ee02169b26 (diff)
downloadzsh-39e4cfd4db1615f50cff0d5dfd7921a72ee8d125.tar.gz
zsh-39e4cfd4db1615f50cff0d5dfd7921a72ee8d125.tar.xz
zsh-39e4cfd4db1615f50cff0d5dfd7921a72ee8d125.zip
Jun T.: 27351: zdelattr missed first argument
Diffstat (limited to 'Src/Modules/attr.c')
-rw-r--r--Src/Modules/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/attr.c b/Src/Modules/attr.c
index 88ebb1618..72348623a 100644
--- a/Src/Modules/attr.c
+++ b/Src/Modules/attr.c
@@ -154,7 +154,7 @@ bin_delattr(char *nam, char **argv, Options ops, UNUSED(int func))
 {
     int ret = 0, slen;
     int symlink = OPT_ISSET(ops, 'h');
-    char *file = argv[0], **attr = &argv[1];
+    char *file = argv[0], **attr = argv;
 
     unmetafy(file, &slen);
     while (*++attr) {