Update attr.c

forgot to add base...