Yes, you should calculate and report the correct basis. When you enter your Form 1099-B, enter is as written but be sure to check the box for The cost basis is incorrect or missing on my 1099‑B.
Then, in a few screens, select I know my cost basis and need to make an adjustment and report the correct basis.
@bretdnixon