diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-06-08 13:34:45 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-06-08 13:34:45 +0000 |
| commit | 8b4fe7931a148e8efb768b1a16a9895d031f82e4 (patch) | |
| tree | 152fb0d04f70b73eb2825eac67d6130e69833194 /src/libs/zbxsysinfo/linux/boottime.c | |
| parent | e213f712b4c7fb22b725f024b18c26362a86d630 (diff) | |
| download | zabbix-8b4fe7931a148e8efb768b1a16a9895d031f82e4.tar.gz zabbix-8b4fe7931a148e8efb768b1a16a9895d031f82e4.tar.xz zabbix-8b4fe7931a148e8efb768b1a16a9895d031f82e4.zip | |
- developed database monitoring via ODBC (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@4253 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxsysinfo/linux/boottime.c')
| -rw-r--r-- | src/libs/zbxsysinfo/linux/boottime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxsysinfo/linux/boottime.c b/src/libs/zbxsysinfo/linux/boottime.c index 4194b4e6..32b22229 100644 --- a/src/libs/zbxsysinfo/linux/boottime.c +++ b/src/libs/zbxsysinfo/linux/boottime.c @@ -76,7 +76,7 @@ static int getPROC2(char *file, char *param, int fieldno, unsigned flags, int ty SET_DBL_RESULT(result, fValue); break; case AR_STRING: default: - SET_STR_RESULT(result, buf); + SET_STR_RESULT(result, strdup(buf)); break; } |
