PERFORCE change 165483 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Tue Jun 30 20:08:41 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=165483
Change 165483 by trasz at trasz_victim on 2009/06/30 20:08:13
Remove comma (",") from the end of the returned strings.
Affected files ...
.. //depot/projects/soc2009/trasz_limits/sys/kern/kern_hrl.c#23 edit
Differences ...
==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_hrl.c#23 (text+ko) ====
@@ -713,6 +713,8 @@
else
sbuf_printf(sb, ",");
}
+ if (sbuf_len(sb) > 0)
+ sbuf_setpos(sb, sbuf_len(sb) - 1);
return (sb);
}
@@ -845,6 +847,7 @@
sbuf_printf(sb, "%s=%jd,", hrl_resource_name(i),
usage->hu_resources[i]);
}
+ sbuf_setpos(sb, sbuf_len(sb) - 1);
return (sb);
}
More information about the p4-projects
mailing list