Package: mrtgutils
Version: 0.8.1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu oneiric ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following:
* mrtg-sensors.c: Fix missing <string.h> include.
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric-updates
APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500,
'oneiric-proposed'), (500, 'oneiric')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-11-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru mrtgutils-0.8.1/mrtg-sensors.c mrtgutils-0.8.1ubuntu1/mrtg-sensors.c
--- mrtgutils-0.8.1/mrtg-sensors.c 2010-09-23 13:24:03.000000000 -0400
+++ mrtgutils-0.8.1ubuntu1/mrtg-sensors.c 2011-09-14 17:43:16.000000000 -0400
@@ -5,6 +5,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
int print_value(char *chipname, char *label, double mult) {