Commit 3417b45a authored by Dubiousjim's avatar Dubiousjim Committed by Natanael Copa

abuild-sudo, abuild-tar: cosmetic changes

parent 607124c6
......@@ -68,7 +68,7 @@ int main(int argc, const char *argv[])
errx(1, "Not a member of group %s\n", ABUILD_GROUP);
cmd = strrchr(argv[0], '-');
if (cmd == NULL)
if (cmd == NULL)
errx(1, "Calling command has no '-'");
cmd++;
......@@ -77,7 +77,7 @@ int main(int argc, const char *argv[])
errx(1, "%s: Not a valid subcommand", cmd);
argv[0] = path;
/* set our uid to root soo bbsuid --install works */
/* set our uid to root so bbsuid --install works */
setuid(0);
execv(path, (char * const*)argv);
perror(path);
......
......@@ -39,7 +39,7 @@ struct tar_header {
char devmajor[8]; /* 329-336 */
char devminor[8]; /* 337-344 */
char prefix[155]; /* 345-499 */
char padding[12]; /* 500-512 */
char padding[12]; /* 500-511 */
};
#define GET_OCTAL(s) get_octal(s, sizeof(s))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment