EA-1158: Use absolute value when reporting error in tap-ctl
EA-1158: Fix warning because of uninitialised var.
EA-1158: Add missing break in switch