It's because the "w" and "uptime" commands are the same binary. If argv[0] == "uptime" you get the one-line "uptime" output. If it's anything else, you get the "w" behavior. Making the string ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results