aboutsummaryrefslogtreecommitdiff
path: root/siprandom.c
diff options
context:
space:
mode:
Diffstat (limited to 'siprandom.c')
-rw-r--r--siprandom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/siprandom.c b/siprandom.c
index 28074de..690772c 100644
--- a/siprandom.c
+++ b/siprandom.c
@@ -33,8 +33,8 @@ parse_program_arguments (int argc, char **argv)
{ 0, NULL, NULL, 0, NULL }
};
- struct opt_handler oh;
- opt_handler_init (&oh, argc, argv, opts, "CONFIG", "PRNG.");
+ struct opt_handler oh =
+ opt_handler_make (argc, argv, opts, "CONFIG", "PRNG.");
int c;
while ((c = opt_handler_get (&oh)) != -1)