swapped the formats -- typo
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 May 2007 20:16:09 +0000 (20:16 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 May 2007 20:16:09 +0000 (20:16 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7372 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/src/utils/log.c

index cac10b0..3adb8b1 100644 (file)
@@ -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;
 }