Update buddy.c