From a7087edf3e4f3dcef0661dc813d146906405c3a7 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 28 May 2007 20:16:09 +0000 Subject: [PATCH] swapped the formats -- typo git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@921 9efc2488-bf62-4759-914b-345cdb29e865 --- src/utils/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.0