Show filename when hm fails to read data file.
r1495 | ffr | 2007-02-16 16:32:21 +1100 (Fri, 16 Feb 2007) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
7dfdeae584
commit
1b061bf8da
@@ -589,7 +589,7 @@ static int GetHMfromFile(pHistDriver self, SConnection *pCon,
|
||||
snprintf(DSfilepath,sizeof(DSfilepath),"%s/%s/DATASET_%s/HDS_P%d",hmDataPath,DAQdir,scanpoint,bank);
|
||||
|
||||
if ((fp=gzopen(DSfilepath, "rb")) == NULL) {
|
||||
snprintf(pPriv->hmError,errMsgLen,"Failed to open hm data file for reading");
|
||||
snprintf(pPriv->hmError,errMsgLen,"Failed to open %s", DSfilepath);
|
||||
pPriv->errorCode = IMMEDFAIL;
|
||||
return HWFault;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user