A phrase made popular among NASA programmers at JSC by the late Erik Geisler. Bad mojo is a mystical quantity, similar to bad karma, that inhabits otherwise good code. May refer to a bug by the author, or to a situation the code wasn't intended to handle. The latter situation may be dealt with by setting errno to EBADMOJO and returning -1.