diff options
Diffstat (limited to 'src/lib/util.c')
-rw-r--r-- | src/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util.c b/src/lib/util.c index 8174fa8c..b4946858 100644 --- a/src/lib/util.c +++ b/src/lib/util.c @@ -58,7 +58,7 @@ checker(int code, int lineNumber, char *errorStr) if (code < 0) { fprintf(stderr, "Error occured during %s\n", errorStr); fprintf(stderr, "Error code of %d\n", errno); - fprintf(stderr, "Error in line number %d of process %d\n", lineNumber, getpid()); + fprintf(stderr, "Error in line number %d of process %d\n", lineNumber, oa_getpid()); perror(""); } return (code); |