View | Details | Raw Unified | Return to bug 138855
Collapse All | Expand All

(-)contrib/opie/libopie/newseed.c (+7 lines)
Lines 80-85 Link Here
80
			utsname.nodename[0] = 'k';
80
			utsname.nodename[0] = 'k';
81
			utsname.nodename[1] = 'e';
81
			utsname.nodename[1] = 'e';
82
		}
82
		}
83
		else if (!utsname.nodename[0])
84
		{
85
			utsname.nodename[0] = 'k';
86
			utsname.nodename[1] = 'e';
87
		}
88
		else if (!utsname.nodename[1])
89
			utsname.nodename[1] = 'e';
83
		utsname.nodename[2] = 0;
90
		utsname.nodename[2] = 0;
84
91
85
		if (snprintf(seed, OPIE_SEED_MAX+1, "%s%04d", utsname.nodename,
92
		if (snprintf(seed, OPIE_SEED_MAX+1, "%s%04d", utsname.nodename,

Return to bug 138855