resolve snprintf overflow warning by using sizeof -- Anna Bernathova suse cz