abuild-sudo, abuild-tar: cosmetic changes

This commit is contained in:
Dubiousjim 2013-07-05 00:21:11 -04:00 committed by Natanael Copa
parent 607124c60c
commit 3417b45a1b
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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))