mirror of
https://github.com/dynup/kpatch
synced 2024-12-26 07:12:03 +00:00
Give objname on build error
This commit is contained in:
parent
4a96e11768
commit
5228e07c63
@ -52,7 +52,10 @@
|
||||
#include "kpatch-patch.h"
|
||||
|
||||
#define ERROR(format, ...) \
|
||||
error(1, 0, "%s: %d: " format, __FUNCTION__, __LINE__, ##__VA_ARGS__)
|
||||
({ \
|
||||
printf("%s: ", objname); \
|
||||
error(1, 0, "%s: %d: " format, __FUNCTION__, __LINE__, ##__VA_ARGS__); \
|
||||
})
|
||||
|
||||
#define DIFF_FATAL(format, ...) \
|
||||
({ \
|
||||
|
Loading…
Reference in New Issue
Block a user