Skip to content

Commit 8c19654

Browse files
committed
fixed format
1 parent 898b205 commit 8c19654

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎source/h5vol/H5VolReadWrite.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,22 +325,22 @@ adios2_attribute *gLocateAttrFrom(H5VL_ObjDef_t *owner, const char *attrName)
325325
if ((GROUP == owner->m_ObjType) || (VAR == owner->m_ObjType))
326326
{
327327
size_t length = strlen(owner->m_Path) + strlen(attrName) + 4;
328-
char* fullPath = (char*)malloc(length);
329-
adios2_attribute* result;
328+
char *fullPath = (char *)malloc(length);
329+
adios2_attribute *result;
330330
if (fullPath == NULL)
331331
{
332332
return NULL;
333333
}
334334
size_t ss = strlen(owner->m_Path);
335335
if ('/' == (owner->m_Path)[ss - 1])
336336
{
337-
sprintf(fullPath, "%s%s", owner->m_Path, attrName);
338-
result = adios2_inquire_attribute(owner->m_FileIO, fullPath);
337+
sprintf(fullPath, "%s%s", owner->m_Path, attrName);
338+
result = adios2_inquire_attribute(owner->m_FileIO, fullPath);
339339
}
340340
else
341341
{
342342
sprintf(fullPath, "%s/%s", owner->m_Path, attrName);
343-
result = adios2_inquire_attribute(owner->m_FileIO, fullPath);
343+
result = adios2_inquire_attribute(owner->m_FileIO, fullPath);
344344
}
345345
free(fullPath);
346346
return result;

0 commit comments

Comments
 (0)