equal
deleted
inserted
replaced
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; |