Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 138649 | Differences between
and this patch

Collapse All | Expand All

(-)xchat-2.6.6.orig/src/common/util.c (-1 / +1 lines)
Lines 528-534 Link Here
528
			break;
528
			break;
529
		if (!strncmp (buf, "cycle frequency [Hz]\t:", 22))	/* alpha */
529
		if (!strncmp (buf, "cycle frequency [Hz]\t:", 22))	/* alpha */
530
		{
530
		{
531
			*mhz = atoi (buf + 23) / 1048576;
531
			*mhz = atoi (buf + 23) / 1000000;
532
		} else if (!strncmp (buf, "cpu MHz\t\t:", 10))	/* i386 */
532
		} else if (!strncmp (buf, "cpu MHz\t\t:", 10))	/* i386 */
533
		{
533
		{
534
			*mhz = atof (buf + 11) + 0.5;
534
			*mhz = atof (buf + 11) + 0.5;

Return to bug 138649