summaryrefslogtreecommitdiff
path: root/src/bin/elua/main.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2015-04-10 14:36:26 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-06 15:05:20 +0100
commit13bd7ba6533a54759df079467f9842ccb6ae4e24 (patch)
tree030f2a28de83bee2c12a26ac342eff3af5706c91 /src/bin/elua/main.c
parent865e2e3364e7e1506909a525ecd4c936c2f8a6f9 (diff)
elua lib: add progname to state
Diffstat (limited to 'src/bin/elua/main.c')
-rw-r--r--src/bin/elua/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/elua/main.c b/src/bin/elua/main.c
index 6497f3d62d..24bd916c8d 100644
--- a/src/bin/elua/main.c
+++ b/src/bin/elua/main.c
@@ -376,7 +376,7 @@ main(int argc, char **argv)
376 376
377 INF("elua logging initialized: %d", _el_log_domain); 377 INF("elua logging initialized: %d", _el_log_domain);
378 378
379 if (!(es = elua_state_new())) 379 if (!(es = elua_state_new((argv[0] && argv[0][0]) ? argv[0] : "elua")))
380 { 380 {
381 ERR("could not initialize elua state."); 381 ERR("could not initialize elua state.");
382 elua_bin_shutdown(es, 1); 382 elua_bin_shutdown(es, 1);