The default volume name is mmc:0:. So even if there is no card connected it will show value 0.Can you use the code snippet given below.
if(0 == (status_t = FS_GetVolumeInfo("mmc:0:0", pInfo)))//default volume name is mmc:0:0
/* Getting volume name succeeded so prompt it on the LCD */
LCD_PrintString("SD card name:");
Can you check if this code snippet is working as expected if SD Card is not connected?
Oh cool. That worked. I wonder if I just goofed up my wiring. After I made this post when tried this other sdcard library for the psoc4 and ran into some issues with that due to the wiring.