projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix arrow locations
[rrdtool.git]
/
src
/
rrd_create.c
diff --git
a/src/rrd_create.c
b/src/rrd_create.c
index
43d608e
..
35a06b1
100644
(file)
--- a/
src/rrd_create.c
+++ b/
src/rrd_create.c
@@
-62,7
+62,7
@@
int rrd_create(
return (-1);
}
return (-1);
}
- last_up = mktime(&last_up_tv.tm) +
last_up_tv.offset;
+ last_up = mktime(&last_up_tv.tm) +last_up_tv.offset;
if (last_up < 3600 * 24 * 365 * 10) {
rrd_set_error
if (last_up < 3600 * 24 * 365 * 10) {
rrd_set_error
@@
-89,7
+89,7
@@
int rrd_create(
}
}
if (optind == argc) {
}
}
if (optind == argc) {
- rrd_set_error("
what is the name of the rrd file you want to create?
");
+ rrd_set_error("
need name of an rrd file to create
");
return -1;
}
rc = rrd_create_r(argv[optind],
return -1;
}
rc = rrd_create_r(argv[optind],