summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-09-29 22:01:18 +0000
committerMiles Bader <miles@gnu.org>1997-09-29 22:01:18 +0000
commit7f23a78eff8eb6eabf7faa882604695aee39d479 (patch)
tree8143d30099580562e4a2eab1ed907c144333455b
parent8c885853d3b57a4a7e51d8bb9508bea2cf76174b (diff)
(argp_program_version):
Use correct program name. (main): Supply new args to frobauth_modify.
-rw-r--r--utils/unsu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/unsu.c b/utils/unsu.c
index 4672821b..addb7e47 100644
--- a/utils/unsu.c
+++ b/utils/unsu.c
@@ -30,7 +30,7 @@
#include "frobauth.h"
#include "pids.h"
-const char *argp_program_version = STANDARD_HURD_VERSION (rmauth);
+const char *argp_program_version = STANDARD_HURD_VERSION (unsu);
static struct argp_child child_argps[] = {{ &frobauth_no_ugids_argp }, { 0 }};
@@ -83,7 +83,7 @@ main (int argc, char *argv[])
/* Parse our command line. This shouldn't ever return an error. */
argp_parse (&argp, argc, argv, 0, 0, &frobauth);
- if (frobauth_modify (&frobauth, modify, print_info, 0))
+ if (frobauth_modify (&frobauth, 0, 0, modify, print_info, 0))
exit (0);
else
exit (1);