From 924495bb2d732548083de9e54bf93eebe7f0d910 Mon Sep 17 00:00:00 2001
From: Pim van den Berg
Date: Tue, 12 Jan 2010 19:58:47 +0100
Subject: make rrdtool executable configurable

---
 plugin/memory.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'plugin/memory.php')

diff --git a/plugin/memory.php b/plugin/memory.php
index ade242c..48a3048 100644
--- a/plugin/memory.php
+++ b/plugin/memory.php
@@ -13,7 +13,7 @@ require_once 'inc/collectd.inc.php';
 # memory/memory-free.rrd
 # memory/memory-used.rrd
 
-$obj = new Type_GenericStacked($CONFIG['datadir']);
+$obj = new Type_GenericStacked($CONFIG);
 $obj->order = array('free', 'buffered', 'cached', 'used');
 $obj->ds_names = array(
 	'free' => 'Free    ',
-- 
cgit v1.1