Update sgminer.c