In file included from src/fullfiles.c:38:0:
src/fullfiles.c: In function ‘create_fullfile’:
src/fullfiles.c:102:81: warning: passing argument 5 of ‘__log_message’ makes pointer from integer without a cast [-Wint-conversion]
LOG(NULL, "Tar command for copying directory full file failed with code %d", tarcmdresult);
^
./include/swupd.h:249:77: note: in definition of macro ‘LOG’
#define LOG(file, msg, fmt...) __log_message(file, msg, __FILE__, __LINE__, fmt)
^~~
./include/swupd.h:248:13: note: expected ‘const char *’ but argument is of type ‘int’
extern void __log_message(struct file *file, char *msg, char *filename, int linenr, const char *fmt, ...);
^~~~~~~~~~~~~