public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
* SPLINT: sys_open missing a parameter in init/main.c
@ 2002-04-28 21:15 Riley Williams
  2002-04-28 22:32 ` Christoph Plattner
  2002-04-29  0:11 ` Alan Cox
  0 siblings, 2 replies; 4+ messages in thread
From: Riley Williams @ 2002-04-28 21:15 UTC (permalink / raw)
  To: Harry Kalogirou; +Cc: Linux 8086

Hi Harry.

The funtion sys_open is defined with three parameters...

	int sys_open(char *filename, int flags, int mode);

...but in init/main.c it is called with only two parameters...

	#ifdef CONFIG_CONSOLE_SERIAL
		num = sys_open("/dev/ttyS0", 2);
	#else
		num = sys_open("/dev/tty1", 2);
	#endif

...and I haven't the foggiest how to correct this. Can somebody rather
more knowledgable than I am advise regarding this please?

Best wishes from Riley.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-29 21:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-28 21:15 SPLINT: sys_open missing a parameter in init/main.c Riley Williams
2002-04-28 22:32 ` Christoph Plattner
2002-04-29  0:11 ` Alan Cox
2002-04-29 21:20   ` Riley Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox