Whamcloud - gitweb
b=5149
[fs/lustre-release.git] / lustre / portals / libcfs / debug.c
index f571958..53f15d2 100644 (file)
@@ -288,7 +288,7 @@ char *portals_id2str(int nal, ptl_process_id_t id, char *str)
         
         portals_nid2str(nal, id.nid, str);
         len = strlen(str);
-        snprintf(str + len, PTL_NALFMT_SIZE, "-%u", id.pid);
+        snprintf(str + len, PTL_NALFMT_SIZE - len, ",%u", id.pid);
         return str;
 }