I agree and think the conclusion that he is a pervert who is doing this deliberately is unfair. If a woman had her breast exposed in a similar situation, I think most people would assume it was an accident rather than she is a pervert who is deliberately flashing people.
Most people would be embarrassed no matter how it is handled, but it would be much less embarrassing to have it handled quickly and discreetly. I like the idea of quietly telling the man to adjust his swimsuit without making eye contact. Some of the other comments were funny to read, but not a good idea to say in a real life situation.
I don't think anyone did conclude that a man with a wardrobe malfunction is always a pervert. Here is one of the first comments addressing the possibility:
You assume it's unintentional - there are guys who get off on flashing strangers, especially women. I won't hazard a guess about what percentage of indecent exposure is intentional and how much is accidental, but I'm guessing the chances are decently even. Since I have absolutely no interest in actually approaching a guy who is getting his rocks off by including me in his fantasies without my approval, I would either ignore it or tell an appropriate authority (if it looks like the guy will be around that area for a while and I can't just leave).
It happened to me once that I was on a train, and a man sat across from me wearing baggy shorts and no underwear. He sat with his legs spread wide apart and one of his legs raised in the air at an unnatural angle so that he was pretty much fully exposed. He also had his hat pulled down so that I could not see his face clearly.
Maybe if it was clearly a genuine accident and/or I knew the person I'd say something. But otherwise not. It's not because a penis is a big deal, but more because I don't want to escalate an unpleasant situation or be used by someone getting his jollies from my reaction.
This. It's a risk versus reward thing for me: if he's not a pervert, then the only reward is on the guy's end (he's not embarrassed). If he is a pervert, the risk is to me: he leaves me feeling icky for the rest of the day, he leers at me, he follows me around the pool to the point I feel like I need to leave, I have to worry about whether I'll see him there again, etc. As much as I'm happy to help a stranger when it's not too much of an inconvenience, I don't think the risk (to me) is worth the reward (to him).
I would feel differently about it if it were a woman, mostly because I think the chances of a woman intentionally flashing people to fulfill a personal fetish are much lower than they are of there just being a "wardrobe malfunction." The risk/reward calculation is still there, but now the risk is much smaller and the reward is much more likely.