mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 03:10:02 +02:00
minor. binaries in
This commit is contained in:
parent
4b697dd9db
commit
4bd4364a3a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user