aboutsummaryrefslogtreecommitdiffstats
path: root/extcap/sdjournal.c
diff options
context:
space:
mode:
Diffstat (limited to 'extcap/sdjournal.c')
-rw-r--r--extcap/sdjournal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extcap/sdjournal.c b/extcap/sdjournal.c
index 40f9efe94b..eefd6ea7c2 100644
--- a/extcap/sdjournal.c
+++ b/extcap/sdjournal.c
@@ -50,11 +50,11 @@ enum {
OPT_START_FROM
};
-static struct option longopts[] = {
+static struct ws_option longopts[] = {
EXTCAP_BASE_OPTIONS,
- { "help", no_argument, NULL, OPT_HELP},
- { "version", no_argument, NULL, OPT_VERSION},
- { "start-from", required_argument, NULL, OPT_START_FROM},
+ { "help", ws_no_argument, NULL, OPT_HELP},
+ { "version", ws_no_argument, NULL, OPT_VERSION},
+ { "start-from", ws_required_argument, NULL, OPT_START_FROM},
{ 0, 0, 0, 0}
};