Objective: How to best fix a wobbly leg of of a table?

Which of the following solutions is more sound in terms of naive physics reasoning?

Pick your answer from:
(a). Tie the wobbly leg of the table with the other 3 legs so that it is fixed.;
(b). Find out which leg is wobbling and nail it to the main body of the table in a better manner.;
(b).