- fix incorrect use of a deprecated function by replacing it with a non-deprecated function Requested by: portmgr (pav; maintainer CCed)