aboutsummaryrefslogtreecommitdiffstats
path: root/testing/slurm/fix-bufsize.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/slurm/fix-bufsize.patch')
-rw-r--r--testing/slurm/fix-bufsize.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/testing/slurm/fix-bufsize.patch b/testing/slurm/fix-bufsize.patch
deleted file mode 100644
index f9adc1d9bf7..00000000000
--- a/testing/slurm/fix-bufsize.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/src/linux.c
-+++ b/src/linux.c
-@@ -68,11 +68,11 @@
-
- /* do not parse the first two lines as they only contain static garbage */
- fseek(proc_net_dev, 0, SEEK_SET);
-- fgets(buffer, BUFSIZ-1, proc_net_dev);
-- fgets(buffer, BUFSIZ-1, proc_net_dev);
-+ fgets(buffer, BUFSIZE-1, proc_net_dev);
-+ fgets(buffer, BUFSIZE-1, proc_net_dev);
-
- interfacefound = 0;
-- while (fgets(buffer, BUFSIZ-1, proc_net_dev) != NULL)
-+ while (fgets(buffer, BUFSIZE-1, proc_net_dev) != NULL)
- {
- /* find the device name and substitute ':' with '\0' */
- ptr = buffer;