summaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-05-23 21:02:30 +0100
committerThomas Adam <thomas@xteddy.org>2019-05-23 21:02:30 +0100
commit19a3a9ee20d09d7210ef278d908913fca60575b7 (patch)
treeaf84111c7c9e43e821c6d274a1d16869bb46ec25 /cfg.c
parente817821104b886de7afdf7c365aeced134d6d966 (diff)
parentf3e01ecc42e34a914ee390658625e920d321734a (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cfg.c b/cfg.c
index 68c8f533..18386b56 100644
--- a/cfg.c
+++ b/cfg.c
@@ -125,6 +125,7 @@ load_cfg(const char *path, struct client *c, struct cmdq_item *item, int flags,
memset(&pi, 0, sizeof pi);
pi.flags = flags;
pi.file = path;
+ pi.line = 1;
pr = cmd_parse_from_file(f, &pi);
fclose(f);