aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c/asn1c.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2006-03-17 01:47:57 +0000
committerLev Walkin <vlm@lionet.info>2006-03-17 01:47:57 +0000
commit8253ea93aaa6ccc26643adb3e9a2d7b126bc69eb (patch)
tree47ef29bee99d9054b3674ecdcfb5522053e751bc /asn1c/asn1c.c
parent20a7bf48e857fe0e93d5da1a9f494bfdf12bd8df (diff)
command line in preamble
Diffstat (limited to 'asn1c/asn1c.c')
-rw-r--r--asn1c/asn1c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1c/asn1c.c b/asn1c/asn1c.c
index 030bdfd..6e22ac1 100644
--- a/asn1c/asn1c.c
+++ b/asn1c/asn1c.c
@@ -317,7 +317,7 @@ main(int ac, char **av) {
* of another language.
*/
if(asn1_compile(asn, skeletons_dir, asn1_compiler_flags,
- ac + optind, av - optind)) {
+ ac + optind, optind - 1, av - optind)) {
exit(EX_SOFTWARE);
}