Rock control on magnitude-frequency distribution of landslide