diff --git a/src/currentCustomerAccountBalance.c b/src/currentCustomerAccountBalance.c index 9f415f9..a91e306 100644 --- a/src/currentCustomerAccountBalance.c +++ b/src/currentCustomerAccountBalance.c @@ -46,9 +46,9 @@ float getAvailableAccountBalance(int user_id) { strcat(stringID, user_id_as_string); // Now stringID is "ID=user_id" - FILE *file = fopen("CustomerData.txt", "r"); + FILE *file = fopen(CUSTOMER_DATA_FILE, "r"); if(file == 0) { - printf("Error: customer data file cannot be opened!"); + printf("Error: customer data file cannot be opened!\n"); return 0; } else {