summaryrefslogtreecommitdiff
path: root/misc/gkx86info2/files/patch-MHz.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gkx86info2/files/patch-MHz.c')
-rw-r--r--misc/gkx86info2/files/patch-MHz.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/misc/gkx86info2/files/patch-MHz.c b/misc/gkx86info2/files/patch-MHz.c
deleted file mode 100644
index 0bd1afcea79e..000000000000
--- a/misc/gkx86info2/files/patch-MHz.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- MHz.c.orig Sat Oct 6 05:41:06 2001
-+++ MHz.c Wed Aug 7 23:01:05 2002
-@@ -11,6 +11,7 @@
- */
-
- #include <stdio.h>
-+#include <stdlib.h>
- #include <sys/time.h>
- #include <string.h>
- #include <unistd.h>
-@@ -45,7 +46,7 @@
- microseconds = ((tvstop.tv_sec-tvstart.tv_sec)*1000000) +
- (tvstop.tv_usec-tvstart.tv_usec);
-
-- buffer = malloc(sizeof(char)*512);
-+ buffer = (char *) malloc(sizeof(char)*512);
- sprintf(buffer, "%lldMHz",
- (cycles[1]-cycles[0])/microseconds);
-