]> granicus.if.org Git - sudo/commitdiff
Use same error message for getauid() failure.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 11 Apr 2013 12:54:39 +0000 (08:54 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 11 Apr 2013 12:54:39 +0000 (08:54 -0400)
plugins/sudoers/bsm_audit.c

index bec1cba98242dd6d6e7d05568e803113b5d0adca..a7111b0ec0398434f6d101abfa2808e3439feed3 100644 (file)
@@ -98,7 +98,7 @@ bsm_audit_success(char **exec_args)
        if (!audit_sudo_selected(0))
                debug_return;
        if (getauid(&auid) < 0)
-               error(1, _("getauid failed"));
+               error(1, _("getauid: failed"));
        if ((aufd = au_open()) == -1)
                error(1, _("au_open: failed"));
        if (getaudit_addr(&ainfo_addr, sizeof(ainfo_addr)) == 0) {