shutdown doesn't update wtmp

The manual pages say

If you decide to shutdown or reboot the system, shutdown adds a a line to the /var/log/wtmp if it already exists.

but it doesn’t.

I guess “shutdown” never calls pututline().

Missing feature in “shutdown”, or stale helpfile document?

“login” does properly update them, so it’s not pututline() issue.