Update attr.c

otherwise it prints SXYS, rather than SXY