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.4.5.orig/src/common/util.c (-1 / +1 lines)
Lines 512-518 Link Here
512
			break;
512
			break;
513
		if (!strncmp (buf, "cycle frequency [Hz]\t:", 22))	/* alpha */
513
		if (!strncmp (buf, "cycle frequency [Hz]\t:", 22))	/* alpha */
514
		{
514
		{
515
			*mhz = atoi (buf + 23) / 1048576;
515
			*mhz = atoi (buf + 23) / 1000000;
516
		} else if (!strncmp (buf, "cpu MHz\t\t:", 10))	/* i386 */
516
		} else if (!strncmp (buf, "cpu MHz\t\t:", 10))	/* i386 */
517
		{
517
		{
518
			*mhz = atof (buf + 11) + 0.5;
518
			*mhz = atof (buf + 11) + 0.5;

Return to bug 138649