ldb: use the sizeof of the control variable as offset instead of hardcoded values...