Inaccurate?

General of Undeath

(Spell Compendium, p. 102)

Necromancy [Evil]
Level: Cleric 8,
Components: V, S, DF,
Casting Time: 1 standard action
Range: Personal
Target: You
Duration: 24 hours

You focus on the darkness within your soul, willing it to grow and grant you the power to control a greater number of undead minions.

This spell increases the number of Hit Dice of undead that you can control by an amount equal to your caster level. When the duration expires, you lose control of the extra undead as if you had voluntarily relinquished control of them.