Aggiornamento note copyright
[gapil.git] / sources / getparam.c
index 521b0df5dc2c35ebeaebc37695b918d8c04dcd65..b5207b7188e185267acf8e79500bd942a6932cb1 100644 (file)
@@ -35,7 +35,7 @@
 #include <stdlib.h>      /* C standard library */
 #include <unistd.h>      /* unix standard library */
 #include <string.h>      /* C strings library */
-#include <limits.h>
+#include <limits.h>      /* system limits constants, types and functions */
 #include <stdio.h>      /* standard I/O library */
 #include <time.h>        /* date and time constants, types and functions */
 
@@ -172,8 +172,8 @@ int main(int argc, char *argv[])
        usage();
     }
     for (i=0; i<=4; i++) {
-       printf("Response for %s is %ld, values is %ld\n", names[i], 
-              sysconf(argument[i]), values[i]);
+       printf("Response for %s is %ld, values is %ld\n",sc_names[i], 
+              sysconf(sc_argument[i]), values[i]);
     }
     return 0;
 }