[lttng-dev] Typo in lttngtop.c

Julien Desfossez julien.desfossez at polymtl.ca
Thu Feb 21 15:21:31 EST 2013


On 13-02-21 03:07 PM, Thibault, Daniel wrote:
> check_field_requirements() reads in part:
> 
> if (*tid_check == 0) {
> 	if (strncmp(name, "tid", 3) == 0)
> 		(*tid_check)++;
> }
> if (*pid_check == 0) {
> 	if (strncmp(name, "tid", 3) == 0)
> 		(*pid_check)++;
> }
> 
>    Shouldn't that second if check for "pid" instead of "tid"?
Indeed.
Fixed in master and live branches.

Thanks,

Julien

> 
> Daniel U. Thibault
> R & D pour la défense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
> Cyber sécurité pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)
> Protection des systèmes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)
> 2459 route de la Bravoure
> Québec, QC  G3J 1X5
> CANADA
> Vox : (418) 844-4000 x4245
> Fax : (418) 844-4538
> NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
> Gouvernement du Canada / Government of Canada
> <http://www.valcartier.drdc-rddc.gc.ca/>
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> 



More information about the lttng-dev mailing list