X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fuptime.c;h=345128da62f6750d30655d74a3f35a841ec6a110;hb=0003c4d3c184f0f437499d6073cd023dc7b659c2;hp=064c3ceed4752a359c7ec2e5b9d84afa27068543;hpb=48096d34f886cdb8b37e999c690260274e1d9449;p=collectd.git diff --git a/src/uptime.c b/src/uptime.c index 064c3cee..345128da 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -241,7 +241,7 @@ static int uptime_read (void) gauge_t uptime; time_t elapsed; - /* calculate the ammount of time elapsed since boot, AKA uptime */ + /* calculate the amount of time elapsed since boot, AKA uptime */ elapsed = time (NULL) - boottime; uptime = (gauge_t) elapsed;