diff --git a/gauss.c b/gauss.c --- a/gauss.c +++ b/gauss.c @@ -99,7 +99,7 @@ printf ("Benutzung: %s UNBEKANNTE\n", argv[0]); printf ("Berechnet ein lineares Gleichungssystem mit n UNBEKANNTEN und n Zeilen ( nxn ).\n"); printf ("Praktische Beispiele stehen in der README Datei.\n"); - return EXIT_SUCCESS; + return EXIT_FAILURE; } MAXY = atoi (argv[1]); @@ -107,7 +107,7 @@ if ((A = calloc (MAXY, sizeof (float *))) == NULL) { printf ("Nicht genug Speicher verfuegbar\n"); - return EXIT_SUCCESS; + return EXIT_FAILURE; } for (i = 0; i < MAXY; i++) { @@ -117,7 +117,7 @@ free (A[k]); free (A); - return EXIT_SUCCESS; + return EXIT_FAILURE; } }