Mail archive
alpine-devel

[alpine-devel] [PATCH 02/31] abuild-sudo, abuild-tar: cosmetic changes

From: Dubiousjim <dubiousjim_at_gmail.com>
Date: Fri, 5 Jul 2013 00:21:11 -0400

---
 abuild-sudo.c | 4 ++--
 abuild-tar.c  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/abuild-sudo.c b/abuild-sudo.c
index 3ba48e7..66f212a 100644
--- a/abuild-sudo.c
+++ b/abuild-sudo.c
_at_@ -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++;
 
_at_@ -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);
diff --git a/abuild-tar.c b/abuild-tar.c
index 1b6e2fb..4a88882 100644
--- a/abuild-tar.c
+++ b/abuild-tar.c
_at_@ -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))
-- 
1.8.3.1
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Fri Jul 05 2013 - 00:21:11 UTC