From 601f128a495de3c9ff38ed729bbcc0c3f5293c67 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Wed, 8 Jun 2016 19:34:51 +0100 Subject: [PATCH] rename n to lineno --- jobflow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jobflow.c b/jobflow.c index f3c9420..9264e9d 100644 --- a/jobflow.c +++ b/jobflow.c @@ -462,7 +462,7 @@ int main(int argc, char** argv) { char subst_buf[16][4096]; unsigned max_subst; - uint64_t n = 0; + uint64_t lineno = 0; unsigned i; unsigned spinup_counter = 0; @@ -553,17 +553,17 @@ int main(int argc, char** argv) { add_job(cmd_argv); if(prog_state.statefile && (prog_state.delayedflush == 0 || free_slots() == 0)) { - write_statefile(n, temp_state); + write_statefile(lineno, temp_state); } } } - n++; + lineno++; } out: if(prog_state.delayedflush) - write_statefile(n - 1, temp_state); + write_statefile(lineno - 1, temp_state); while(prog_state.threads_running) reap_child(); -- 2.11.4.GIT