Fixed function-call in gd.c