6 Jan 2012 15:38
[PATCH] libnuma: more verbose warning
Petr Holasek <pholasek <at> redhat.com>
2012-01-06 14:38:47 GMT
2012-01-06 14:38:47 GMT
From: Petr Holasek <pholasek <at> redhat.com> This patch fix warning message in numa_node_to_cpus_v1 function to be more verbose like in its v2. -- --- libnuma.c.orig 2012-01-04 12:34:56.020982842 +0100 +++ libnuma.c 2012-01-06 15:04:24.774418535 +0100 <at> <at> -1287,6 +1287,8 <at> <at> numa_node_to_cpus_v1(int node, unsigned numa_warn(W_nosysfs2, "/sys not mounted or invalid. Assuming one node: %s", strerror(errno)); + numa_warn(W_nosysfs2, + "(cannot open or correctly parse %s)", fn); bitmask.maskp = (unsigned long *)mask; bitmask.size = buflen_needed * 8; numa_bitmask_setall(&bitmask);
RSS Feed