Sahih Al-Bukhari 6069
Every narration is understood in the light of the principles. It is definitely about the major sins. However, if one is not ashamed of his minor sins, it might lead him to major ones too. Unless a major is not committed, the minor stays minor.