Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-13499 obd: fix printing of client connection UUID
[fs/lustre-release.git]
/
lustre
/
utils
/
debug.c
diff --git
a/lustre/utils/debug.c
b/lustre/utils/debug.c
index
d9fe439
..
5681870
100644
(file)
--- a/
lustre/utils/debug.c
+++ b/
lustre/utils/debug.c
@@
-197,7
+197,7
@@
static int applymask(char *param, int value)
{
int rc;
char buf[64];
- int len = s
nprintf(buf, 64
, "%d", value);
+ int len = s
cnprintf(buf, sizeof(buf)
, "%d", value);
int fd = dbg_open_ctlhandle(param);
if (fd < 0)
@@
-286,7
+286,7
@@
static void print_rec(struct dbg_line ***linevp, int used, int fdout)
int bytes;
ssize_t bytes_written;
- bytes = snprintf(out, sizeof(out),
+ bytes = s
c
nprintf(out, sizeof(out),
"%08x:%08x:%u.%u%s:%u.%06llu:%u:%u:%u:"
"(%s:%u:%s()) %s",
hdr->ph_subsys, hdr->ph_mask,