diff options
Diffstat (limited to 'src/include/common.h')
-rw-r--r-- | src/include/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/common.h b/src/include/common.h index c9ec7b729..5f09fe3e2 100644 --- a/src/include/common.h +++ b/src/include/common.h | |||
@@ -41,8 +41,8 @@ | |||
41 | 41 | ||
42 | #define errExit(msg) do { \ | 42 | #define errExit(msg) do { \ |
43 | char msgout[500]; \ | 43 | char msgout[500]; \ |
44 | snprintf(msgout, 500, "Error %s/%s:%d %s(): %s", \ | 44 | snprintf(msgout, 500, "Error %s:%d: %s: %s", \ |
45 | MOD_DIR, __FILE__, __LINE__, __func__, msg); \ | 45 | __FILE__, __LINE__, __func__, msg); \ |
46 | perror(msgout); \ | 46 | perror(msgout); \ |
47 | exit(1); \ | 47 | exit(1); \ |
48 | } while (0) | 48 | } while (0) |