aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-01-10 16:53:51 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-01-10 16:53:51 +0000
commitee3982b959cc82c44bd9d81e7197cd7a43431ce8 (patch)
tree3d55ef9bc9549cb238d9f135f7ddd6ae1a214a8c /src
parent608d693c89f76e242e5491bfa6317d9774637e9f (diff)
downloadverteco-ee3982b959cc82c44bd9d81e7197cd7a43431ce8.tar.gz
Move interval.txt to interval subdirectory.
Diffstat (limited to 'src')
-rw-r--r--src/modbuslog.c2
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);