prog_limit.c
changeset 48 b94d657a9acb
parent 27 81a574d60c15
child 51 a03372ef9714
equal deleted inserted replaced
47:63adb261de90 48:b94d657a9acb
    18     char **args;
    18     char **args;
    19 
    19 
    20     if (argc < 3) {
    20     if (argc < 3) {
    21         printf ("Usage: %s <mem> <cmd> [args]...\n", argv[0]);
    21         printf ("Usage: %s <mem> <cmd> [args]...\n", argv[0]);
    22         printf ("Report bugs to mbroeker@largo.homelinux.org\n");
    22         printf ("Report bugs to mbroeker@largo.homelinux.org\n");
    23         return EXIT_SUCCESS;
    23         return EXIT_FAILURE;
    24     }
    24     }
    25 
    25 
    26     if ((args = calloc ((argc - 2), sizeof (char *))) == NULL) {
    26     if ((args = calloc ((argc - 2), sizeof (char *))) == NULL) {
    27         perror ("calloc");
    27         perror ("calloc");
    28         return EXIT_FAILURE;
    28         return EXIT_FAILURE;