Fixed output problems of error messages while parsing options.conf / gsm.conf.
[lcr.git] / genext.c
index 486af09..4d34bbe 100644 (file)
--- a/genext.c
+++ b/genext.c
@@ -52,8 +52,9 @@ int main(int argc, char *argv[])
        struct extension ext;
        char pathname[256];
        FILE *fp;
+       char options_error[256];
 
-       if (!read_options()) {
+       if (!read_options(options_error)) {
                PERROR("%s", options_error);
                return(-1);
        }