about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/glob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/glob.c b/Src/glob.c
index 0defb1a0f..9299b95ea 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -1611,7 +1611,8 @@ zglob(LinkList list, LinkNode np, int nountok)
 		    break;
 		}
 		default:
-		    zerr("unknown file attribute");
+		    untokenize(--s);
+		    zerr("unknown file attribute: %c", *s);
 		    restore_globstate(saved);
 		    return;
 		}