mirror of
https://github.com/upa/mscp.git
synced 2026-02-27 02:34:42 +08:00
add .clang-format from Linux kernel and format sources
The exception is that ColumnLimit is 90.
This commit is contained in:
@@ -21,9 +21,9 @@ void priv_set_err(const char *fmt, ...);
|
||||
* priv_set_errv(), a wrapper for priv_set_err(), just adds filename,
|
||||
* line, and function name to the error message.
|
||||
*/
|
||||
#define priv_set_errv(fmt, ...) \
|
||||
priv_set_err("[%s:%d:%s] " fmt "\0", \
|
||||
basename(__FILE__), __LINE__, __func__, ##__VA_ARGS__)
|
||||
#define priv_set_errv(fmt, ...) \
|
||||
priv_set_err("[%s:%d:%s] " fmt "\0", basename(__FILE__), __LINE__, __func__, \
|
||||
##__VA_ARGS__)
|
||||
|
||||
/**
|
||||
* priv_get_err() gets the error message sotred in a private buffer.
|
||||
|
||||
Reference in New Issue
Block a user