switched graphics library from arts to cairo+pango
[rrdtool.git] / src / rrd_create.c
index 43d608e..35a06b1 100644 (file)
@@ -62,7 +62,7 @@ int rrd_create(
                 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
@@ -89,7 +89,7 @@ int rrd_create(
         }
     }
     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],