[systemd-devel] typo in tty-ask-password-agent.c ?

Simon hwold at odai.homelinux.net
Thu Apr 3 11:52:45 PDT 2014


Hello,

I think I may have found an error in systemd source, in
tty-ask-password-agent.c, fuction wall_tty_block :


        r = get_ctty_devnr(0, &devnr);
        if (r < 0)
                return -r;

shouldn’t be "return -r" be "return r" ?

Regards,

Simon


More information about the systemd-devel mailing list