[PATCH V2 2/2] libfc: Corrected the condition check and invalid argument passed