@ -100,7 +100,7 @@ int main(int argc, char **argv) {
bt = get_time();
signal(SIGINT, sighnd);
flgwt();
int t = timediff(getTime(), bt);
int t = timediff(get_time(), bt);
struct session data = data_to_session(bt, t, argv[1]);
FILE *f = fopen(DATFILE, "a");
write_session(f, data);