Use %ud instead of %d for oid.