[PATCH] libnuma: more verbose warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Petr Holasek <pholasek@xxxxxxxxxx>

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
@@ -1287,6 +1287,8 @@ 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);
 
--
To unsubscribe from this list: send the line "unsubscribe linux-numa" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [Devices]

  Powered by Linux