mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-19 07:43:42 +00:00
Seperate logging to another header
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
/* magisk.h - Let MagiskBoot use the same error handling API as main magisk program
|
||||
*/
|
||||
|
||||
#ifndef _MAGISK_H_
|
||||
#define _MAGISK_H_
|
||||
|
||||
#define LOGE(err, ...) { fprintf(stderr, __VA_ARGS__); exit(err); }
|
||||
#define PLOGE(fmt, args...) { fprintf(stderr, fmt " failed with %d: %s\n\n", ##args, errno, strerror(errno)); exit(1); }
|
||||
|
||||
#endif
|
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "bootimg.h"
|
||||
#include "sha1.h"
|
||||
#include "magisk.h"
|
||||
#include "logging.h"
|
||||
#include "utils.h"
|
||||
#include "magic.h"
|
||||
|
||||
|
Reference in New Issue
Block a user