Update date of copyright notices
[src/app-framework-main.git] / src / tests / test-unit / test-unit.c
index 9a205fc..2b166e9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- Copyright 2016, 2017 IoT.bzh
+ Copyright (C) 2016, 2017, 2018 IoT.bzh
 
  author: José Bollo <jose.bollo@iot.bzh>
 
@@ -74,7 +74,7 @@ int main(int ac, char **av)
        conf.installdir = "INSTALL-DIR";
        conf.icondir = "ICONS-DIR";
        conf.port = 666;
-       rc = unit_generator_on(*++av);
+       rc = unit_generator_open_template(*++av);
        if (rc < 0)
                error("can't read template %s: %m",*av);
        while(*++av) {