Not exercising regularly is a risk factor for type 2 diabetes.