]> git.openfabrics.org - ~shefty/libibcm.git/commitdiff
Fix cmpost to use server IP address.
authorSean Hefty <sean.hefty@intel.com>
Fri, 23 Feb 2007 21:15:20 +0000 (13:15 -0800)
committerSean Hefty <sean.hefty@intel.com>
Fri, 23 Feb 2007 21:15:20 +0000 (13:15 -0800)
Fix sample program to access the server using its IP address.  The displayed
comment for the program was incorrect.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
examples/cmpost.c

index 6ee93d0936d0b80976e951c017d455b0061a1e41..a85264b4264548f5dd585493eaf01849cdd4e0e8 100644 (file)
@@ -708,8 +708,8 @@ out:
 
 int main(int argc, char **argv)
 {
-       if (argc != 1 && argc != 3) {
-               printf("usage: %s [-i server_addr | -l server_lid]\n", argv[0]);
+       if (argc != 1 && argc != 2) {
+               printf("usage: %s [server_ip_addr]\n", argv[0]);
                exit(1);
        }