slist: allow show_sm() to accept NULL pointers