Update bput-bgetn.c

Sync'd with mdhim-tng