From: miker Date: Mon, 28 May 2007 20:16:09 +0000 (+0000) Subject: swapped the formats -- typo X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a7087edf3e4f3dcef0661dc813d146906405c3a7;p=opensrf%2Fbjwebb.git swapped the formats -- typo git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@921 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/utils/log.c b/src/utils/log.c index cac10b0..3adb8b1 100644 --- a/src/utils/log.c +++ b/src/utils/log.c @@ -61,7 +61,7 @@ void osrfLogSetIsClient(int is) { /* go ahead and create the xid prefix so it will be consistent later */ static char buff[32]; memset(buff, 0x0, 32); - snprintf(buff, 32, "%ld%d", (int)time(NULL), (long) getpid()); + snprintf(buff, 32, "%d%ld", (int)time(NULL), (long) getpid()); __osrfLogXidPfx = buff; }