abuild-sudo, abuild-tar: cosmetic changes
This commit is contained in:
parent
607124c60c
commit
3417b45a1b
|
@ -77,7 +77,7 @@ int main(int argc, const char *argv[])
|
||||||
errx(1, "%s: Not a valid subcommand", cmd);
|
errx(1, "%s: Not a valid subcommand", cmd);
|
||||||
|
|
||||||
argv[0] = path;
|
argv[0] = path;
|
||||||
/* set our uid to root soo bbsuid --install works */
|
/* set our uid to root so bbsuid --install works */
|
||||||
setuid(0);
|
setuid(0);
|
||||||
execv(path, (char * const*)argv);
|
execv(path, (char * const*)argv);
|
||||||
perror(path);
|
perror(path);
|
||||||
|
|
|
@ -39,7 +39,7 @@ struct tar_header {
|
||||||
char devmajor[8]; /* 329-336 */
|
char devmajor[8]; /* 329-336 */
|
||||||
char devminor[8]; /* 337-344 */
|
char devminor[8]; /* 337-344 */
|
||||||
char prefix[155]; /* 345-499 */
|
char prefix[155]; /* 345-499 */
|
||||||
char padding[12]; /* 500-512 */
|
char padding[12]; /* 500-511 */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GET_OCTAL(s) get_octal(s, sizeof(s))
|
#define GET_OCTAL(s) get_octal(s, sizeof(s))
|
||||||
|
|
Loading…
Reference in New Issue