Update bam_plcmd.c

Fixed introduced error