Fix return value of diag_inject_with_fd