event/opdl: replace sprintf with snprintf