]> granicus.if.org Git - sudo/commitdiff
change an error() to errorx()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Jan 2011 21:44:55 +0000 (16:44 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Jan 2011 21:44:55 +0000 (16:44 -0500)
--HG--
branch : 1.7

sudoreplay.c

index 4c4711e911230360ce9164c74d897288b3a45eea..b60e95ff83cb7627456a33a1f0e1863e748a00ab 100644 (file)
@@ -319,7 +319,7 @@ main(argc, argv)
     if (getline(&cp, &len, lfile) == -1 ||
        getline(&cp, &len, lfile) == -1 ||
        getline(&cp, &len, lfile) == -1) {
-       error(1, "invalid log file %s", path);
+       errorx(1, "invalid log file %s", path);
     }
     printf("Replaying sudo session: %s", cp);
     free(cp);