From 55874d787219c9a965681a580752c61c3fce83ca Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 1 Feb 2018 18:02:24 +0100 Subject: [PATCH] chg: textual --- client/loclass/fileutils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/loclass/fileutils.c b/client/loclass/fileutils.c index efb8d0304..6645d7d62 100644 --- a/client/loclass/fileutils.c +++ b/client/loclass/fileutils.c @@ -77,14 +77,14 @@ int saveFile(const char *preferredName, const char *suffix, const void* data, si /*Opening file for writing in binary mode*/ FILE *f = fopen(fileName, "wb"); if (!f) { - prnlog("File not found or locked. '%s'", fileName); + prnlog("[!] file not found or locked. '%s'", fileName); free(fileName); return 1; } fwrite(data, 1, datalen, f); fflush(f); fclose(f); - prnlog("Saved %u bytes to binary file %s", datalen, fileName); + prnlog("[+] saved %u bytes to binary file %s", datalen, fileName); free(fileName); return 0; } @@ -113,7 +113,7 @@ int saveFileEML(const char *preferredName, const char *suffix, uint8_t* data, si /*Opening file for writing in text mode*/ FILE *f = fopen(fileName, "w+"); if (!f) { - prnlog("File not found or locked. '%s'", fileName); + prnlog("[!] file not found or locked. '%s'", fileName); retval = 1; goto out; } @@ -132,7 +132,7 @@ int saveFileEML(const char *preferredName, const char *suffix, uint8_t* data, si } fflush(f); fclose(f); - prnlog("Saved %d blocks to text file %s", blocks, fileName); + prnlog("[+] saved %d blocks to text file %s", blocks, fileName); out: free(fileName);