Even if they had done something they still wouldn't have stopped all the terrorists. That would have been racial profiling which some people insist is bad.
I think its bad too because it assumes things that may or may not be true, like a potential hijacker can be identified by race. Historically hijackers have come from a variety of ethnic backgrounds and highjacking has occurred for a variety of reasons.