Having a blood relative with diabetes is a risk factor for type 2 diabetes.