Code

sysdb: Store a global input handler object in the input module.
[sysdb.git] / src / tools / sysdb / main.c
index 06f4de2f0fb858152a74849300173627281de1cb..9b575cc825746c47548b87968090c65c0d77b6b2 100644 (file)
@@ -241,7 +241,7 @@ main(int argc, char **argv)
        }
 
        input.input = sdb_strbuf_create(2048);
-       sdb_input_set(&input);
+       sdb_input_init(&input);
        yylex();
 
        if (hist_file[0] != '\0') {