summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-03-20 18:42:23 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-03-20 18:43:43 +0100
commit4aab79d51f9096476991af23775d656e0981b89d (patch)
tree5bc10309a74f64cabbeb6e021f70af7149215a37 /openbsc/src/osmo-bsc_mgcp/mgcp_main.c
parentf706b39eb6132c18e28808807cde1ead83437e77 (diff)
osmo-bsc-mgcp.service: Fix parsing of cmdline option s
From journald output: /usr/bin/osmo-bsc_mgcp: invalid option -- 's' Change-Id: I995d2f5909640fc007aa39dd6c6b54ff97ee45f7
Diffstat (limited to 'openbsc/src/osmo-bsc_mgcp/mgcp_main.c')
-rw-r--r--openbsc/src/osmo-bsc_mgcp/mgcp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c b/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
index 6cf9ab786..419f852d7 100644
--- a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
+++ b/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
@@ -102,7 +102,7 @@ static void handle_options(int argc, char **argv)
{0, 0, 0, 0},
};
- c = getopt_long(argc, argv, "hc:VD", long_options, &option_index);
+ c = getopt_long(argc, argv, "hc:sVD", long_options, &option_index);
if (c == -1)
break;