buddy returns an error code > 0 if a magic number was found