Cut three 18-inch blocks from lumber that is the same width as the wall studs using a circular saw.
Set the first piece of lumber at the bottom of the corner stud, making sure that the sides of the block and corner stud are flush. Hammer staggered 16d spikes up the block and into the corner stud.
Place the second block halfway up the corner stud. Hammer staggered 16d spikes up the block and into the corner stud. Set the third block at the top of the corner stud and secure it into place with the 16d spikes.
Set another full stud over the blocks; the blocks will end up being sandwiched between the two full studs. Hammer 16d spikes through the full stud and into the blocks on the backside to complete the corner post.
Swing the opposing wall up so that the last stud is flush against the outer edge of the corner post. Hammer 16d spikes through the opposing stud and into the corner post.