To correct the cost basis on a 1099-B, after entering the transaction details from the 1099-B, click the button that says "I'll enter additional info on my own." On the next screen, enter the correct cost basis in the box labeled "Corrected cost basis." That will put code B in column (f) on Form 8949.