Blame numactl-2.0.2-remove-warning.patch
|
Mark McLoughlin |
33b077 |
diff -up numactl-2.0.2/libnuma.c.orig numactl-2.0.2/libnuma.c
|
|
Mark McLoughlin |
33b077 |
--- numactl-2.0.2/libnuma.c.orig 2009-02-09 15:26:41.000000000 -0500
|
|
Mark McLoughlin |
33b077 |
+++ numactl-2.0.2/libnuma.c 2009-02-09 15:26:45.000000000 -0500
|
|
Mark McLoughlin |
33b077 |
@@ -306,9 +306,6 @@ set_configured_nodes(void)
|
|
Mark McLoughlin |
33b077 |
|
|
Mark McLoughlin |
33b077 |
d = opendir("/sys/devices/system/node");
|
|
Mark McLoughlin |
33b077 |
if (!d) {
|
|
Mark McLoughlin |
33b077 |
- numa_warn(W_nosysfs,
|
|
Mark McLoughlin |
33b077 |
- "/sys not mounted or no numa system. Assuming one node: %s",
|
|
Mark McLoughlin |
33b077 |
- strerror(errno));
|
|
Mark McLoughlin |
33b077 |
maxconfigurednode = 0;
|
|
Mark McLoughlin |
33b077 |
} else {
|
|
Mark McLoughlin |
33b077 |
while ((de = readdir(d)) != NULL) {
|