diff options
Diffstat (limited to '')
-rw-r--r-- | src/modbuslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modbuslog.c b/src/modbuslog.c index 9424936..e7ccb05 100644 --- a/src/modbuslog.c +++ b/src/modbuslog.c @@ -307,7 +307,7 @@ int main(int argc, char *argv[]) { struct tm lc = *localtime(&unixtime_min); int intervalid; - FILE *intervalfile = fopen("/var/modbuslog/interval.txt", "r+"); + FILE *intervalfile = fopen("/var/modbuslog/interval/interval.txt", "r+"); fscanf(intervalfile, "%d", &intervalid); intervalid++; rewind(intervalfile); |