Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 263033
Collapse All | Expand All

(-)ntp-4.2.4p5/ntpq/ntpq.c (-2 / +2 lines)
Lines 3185-3193 cookedprint( Link Here
3185
				if (!decodeuint(value, &uval))
3185
				if (!decodeuint(value, &uval))
3186
				    output_raw = '?';
3186
				    output_raw = '?';
3187
				else {
3187
				else {
3188
					char b[10];
3188
					char b[12];
3189
3189
3190
					(void) sprintf(b, "%03lo", uval);
3190
					(void) snprintf(b, sizeof(b), "%03lo", uval);
3191
					output(fp, name, b);
3191
					output(fp, name, b);
3192
				}
3192
				}
3193
				break;
3193
				break;

Return to bug 263033