I thought that maybe IRSwill send a letter requesting to correct the error.
If there is a problem the iRS will let you know.
If the first four letters on the 1040 match your spouse's surname and the SSN is correct, there will be no issue.
@avilavogel