mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-05 17:40:40 +02:00
Merge branch 'specialfile' of github.com:slsdetectorgroup/slsDetectorPackage into specialfile
This commit is contained in:
commit
fb012aa9e9
@ -461,7 +461,7 @@ int openFileForFlash(char *mess, FILE **flashfd, FILE **srcfd) {
|
|||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
// non zero = block special file
|
// non zero = block special file
|
||||||
if (!S_ISBLK(buf.st_mode)) {
|
if (S_ISBLK(buf.st_mode)) {
|
||||||
sprintf(mess,
|
sprintf(mess,
|
||||||
"Could not %s. The flash drive found is a normal file. To "
|
"Could not %s. The flash drive found is a normal file. To "
|
||||||
"delete this file, create the flash drive and proceed with "
|
"delete this file, create the flash drive and proceed with "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user