Rejected E-File

My return was rejected because my son forgot to check the box that he was claimed as someones dependent on his taxes. He has since amended his return, it was accepted by the IRS. How long do I have to wait to refile for the IRS to see that he can be claimed as a dependent.