From 1d6a0cc17b84b1659efaba5b128d6bd522d77fd6 Mon Sep 17 00:00:00 2001 From: oetiker Date: Wed, 1 Oct 2008 16:53:56 +0000 Subject: [PATCH] lcd is actually gcd! git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1552 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index da3be8a..a29e47d 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -938,7 +938,7 @@ long find_var( return -1; } -/* find the largest common denominator for all the numbers +/* find the greatest common divisor for all the numbers in the 0 terminated num array */ long lcd( long *num) -- 2.30.2