svn commit: r214041 -
projects/ofed/head/contrib/ofed/librdmacm/examples
Jeff Roberson
jeff at FreeBSD.org
Mon Oct 18 22:25:34 UTC 2010
Author: jeff
Date: Mon Oct 18 22:25:33 2010
New Revision: 214041
URL: http://svn.freebsd.org/changeset/base/214041
Log:
- Don't use basename() as it's not needed and this is the non-reentrant
version in a multithreaded app.
Sponsored by: Isilon Systems, iX Systems, and Panasas.
Modified:
projects/ofed/head/contrib/ofed/librdmacm/examples/rping.c
Modified: projects/ofed/head/contrib/ofed/librdmacm/examples/rping.c
==============================================================================
--- projects/ofed/head/contrib/ofed/librdmacm/examples/rping.c Mon Oct 18 22:24:39 2010 (r214040)
+++ projects/ofed/head/contrib/ofed/librdmacm/examples/rping.c Mon Oct 18 22:25:33 2010 (r214041)
@@ -1088,9 +1088,9 @@ static int get_addr(char *dst, struct so
static void usage(char *name)
{
printf("%s -s [-vVd] [-S size] [-C count] [-a addr] [-p port]\n",
- basename(name));
+ name);
printf("%s -c [-vVd] [-S size] [-C count] -a addr [-p port]\n",
- basename(name));
+ name);
printf("\t-c\t\tclient side\n");
printf("\t-s\t\tserver side. To bind to any address with IPv6 use -a ::0\n");
printf("\t-v\t\tdisplay ping data to stdout\n");
More information about the svn-src-projects
mailing list