[PATCH] alpt-d: Fix infinite loop =]

This program causes an infinite loop

GOAL:  Fix the infinite loop