Use %u instead of %ud for oid.