ポインタに適当な値入れてprintfで出力したらsegmentation faultでたよ