tools lib bpf: improve warning
Signed-off-by: Eric Leblond <eric@regit.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
							parent
							
								
									5a78449810
								
							
						
					
					
						commit
						49bf4b36fd
					
				| @ -879,7 +879,8 @@ bpf_object__create_maps(struct bpf_object *obj) | ||||
| 			size_t j; | ||||
| 			int err = *pfd; | ||||
| 
 | ||||
| 			pr_warning("failed to create map: %s\n", | ||||
| 			pr_warning("failed to create map (name: '%s'): %s\n", | ||||
| 				   obj->maps[i].name, | ||||
| 				   strerror(errno)); | ||||
| 			for (j = 0; j < i; j++) | ||||
| 				zclose(obj->maps[j].fd); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user