Fix typo in the function name
Submitted by: Sascha Wildner <saw@online.de> Obtained from: DragonflyBSD