Raspberry Vanilla IPMT
This commit is contained in:
14
android13/vendor/brcm/ipconfigstore/error.h
vendored
Normal file
14
android13/vendor/brcm/ipconfigstore/error.h
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef IPCONFIG_ERROR_H
|
||||
#define IPCONFIG_ERROR_H
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define printError(message) \
|
||||
fprintf(stderr, "%s: %s\n", __func__, message)
|
||||
|
||||
#define printLibraryError(message) \
|
||||
fprintf(stderr, "%s: %s: %s\n", __func__, message, strerror(errno))
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user