Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.329 kb
#ifndef COMMON_H_
#define COMMON_H_
#if 1
#define PHOENIXFS_DBG(f, ...) \
{ \
FILE *logfh = fopen("/tmp/phoenixfs.log", "a"); \
if (logfh) { \
fprintf(logfh, "l. %4d: " f "\n", __LINE__, ##__VA_ARGS__); \
fclose(logfh); \
} \
}
#else
#define PHOENIXFS_DBG(f, ...) while(0)
#endif
void die(const char *err, ...);
#endif
Jump to Line
Something went wrong with that request. Please try again.