usage: dirname string [...] My guess is that some parameter is being passed the empty string. Approved by: portmgr (tier-2 blanket)