fix warning on DragonFly