If judgment has been rendered without such proof of suretyship, the surety shall give at least ten days' notice to his principal of his intention to apply at the next term of the court where the judgment was entered to make such proof and to have the fact of his suretyship entered of record, together with an order for the control of such judgment and execution thereon against the principal, on payment of the same by him.