projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Re-organized some sections and added a whole new section on avoiding the
[oweals/busybox.git]
/
id.c
diff --git
a/id.c
b/id.c
index ce5db52f0db7ed5bef406103659ec2a90e2d7eb6..fdfc33cdcd3b6b9b76f55225901fc0f072b4fb12 100644
(file)
--- a/
id.c
+++ b/
id.c
@@
-20,7
+20,7
@@
*
*/
-#include "
internal
.h"
+#include "
busybox
.h"
#include <stdio.h>
#include <unistd.h>
#include <pwd.h>
@@
-37,6
+37,7
@@
extern int id_main(int argc, char **argv)
int opt;
cp = user = group = NULL;
+ gid = 0;
while ((opt = getopt(argc, argv, "ugr")) > 0) {
switch (opt) {