added comment on '-' in between %d
fixed typo