Make a description of ${cpu} variable not so confusing.
[monky] / tests / test-portmon.c
index 6f47ae5..8ee0354 100644 (file)
@@ -25,12 +25,12 @@ int main()
 
    (void) signal(SIGINT,set_terminate);
 
-   if ( (p_collection = create_tcp_port_monitor_collection()) == NULL) {
+   if ( (p_collection = create_tcp_port_monitor_collection( NULL )) == NULL) {
        fprintf(stderr,"error: create_tcp_port_monitor_collection()\n");
        exit(1);
    }
 
-   if ( (p_monitor = create_tcp_port_monitor( 1, 65535 )) == NULL) {
+   if ( (p_monitor = create_tcp_port_monitor( 1, 65535, NULL )) == NULL) {
        fprintf(stderr,"error: create_tcp_port_monitor()\n");
        exit(1);
    }