fix(doc): Correct typo on wh_open man page 84/284/1 1.0.31
authorE. Scott Daniels <daniels@research.att.com>
Mon, 10 Jun 2019 14:34:51 +0000 (14:34 +0000)
committerE. Scott Daniels <daniels@research.att.com>
Mon, 10 Jun 2019 14:34:51 +0000 (14:34 +0000)
The prototype and example on the rmr_wh_open man page
incorrectly reference rmr_open() and not rmr_wh_open().

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I667da2e5976ece04952d34e9110832f30f51e68e

doc/src/man/rmr_wh_open.3.xfm

index 9bd15a4..c271651 100644 (file)
@@ -49,7 +49,7 @@
 &ex_start
 #include <rmr/rmr.h>
 
-void* rmr_open( void* vctx, char* target )
+void* rmr_wh_open( void* vctx, char* target )
 &ex_end
 
 &uindent
@@ -100,7 +100,7 @@ error message of a system call is propagated up, and thus this list might be inc
    rmr_whid_t wh;
 
    rmc = rmr_init( "43086", 4096, 0 ); // init context
-   wh = rmr_open( rmc, "localhost:6123" );
+   wh = rmr_wh_open( rmc, "localhost:6123" );
    if( !RMR_WH_CONNECTED( wh ) ) { 
         fprintf( stderr, "unable to connect wormhole: %s\n",
              strerror( errno ) );