Commit 1beb8814 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fix typo.

parent 5b51b63e
......@@ -523,7 +523,7 @@ otherwise the result is an empty string.
void vlistInqVarLongname(int vlistID, int varID, char *longname)
{
int length = CDI_MAX_NAME;
(void)cdiInqKeyString(vlistID, varID, CDI_KEY_NAME, longname, &length);
(void)cdiInqKeyString(vlistID, varID, CDI_KEY_LONGNAME, longname, &length);
if (!longname[0])
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment