minor. binaries in

This commit is contained in:
maliakal_d 2022-03-28 10:21:19 +02:00
parent 4b697dd9db
commit 4bd4364a3a
8 changed files with 4 additions and 6 deletions

View File

@ -480,9 +480,8 @@ int checkNormalFile(char *mess, enum PROGRAM_INDEX index, int forceDeleteNormalF
struct stat buf; struct stat buf;
if (stat(flashDriveName, &buf) == -1) { if (stat(flashDriveName, &buf) == -1) {
sprintf(mess, sprintf(mess,
"Could not %s. Unable to validate if flash drive found is a " "Could not %s. Unable to find the flash drive %s\n",
"special file\n", messageType, flashDriveName);
messageType);
LOG(logERROR, (mess)); LOG(logERROR, (mess));
return FAIL; return FAIL;
} }

View File

@ -152,9 +152,8 @@ int openFileForFlash(char *mess, FILE **flashfd) {
struct stat buf; struct stat buf;
if (stat(flashDriveName, &buf) == -1) { if (stat(flashDriveName, &buf) == -1) {
sprintf(mess, sprintf(mess,
"Could not %s. Unable to validate if flash drive found is a " "Could not %s. Unable to find the flash drive %s\n",
"special file\n", messageType, flashDriveName);
messageType);
LOG(logERROR, (mess)); LOG(logERROR, (mess));
return FAIL; return FAIL;
} }