Using gland regions on their heads, warthogs mark poles and other objects for self-orientation. Males often mark during the mating season. The male also sprays urine when searching for and inspecting sleeping cavities.