Redhat Linux
StrongARM processor
kernel 2.2.10
initscripts 3.90-3
The command `loglevel' generates an -EINVAL from do_syslog() regardless
of
the level passed.  
According to loglevel.c, it is calling `syscall( SYS_syslog, 8, NULL,
level )', but according to do_syslog, it is receiving
do_syslog(type=9437287 buf=� len=0 ) regardless of the value of
`level'.  Every other program that calls do_syslog appears to work
correctly.  I've tried changing the loglevel.c code to call syslog(),
but it has the same results.  I also tried calling _syscall3(), but that
wouldn't even compile, 
...
loglevel.c: In function `main':
loglevel.c:25: parse error before `int'
loglevel.c:25: `__res' undeclared (first use in this function)
...
This is being cross-compiled on an x86 for the StrongARM processor.

Any suggestions on where to look, hunches, etc.?

Thank you for your time,

Eli
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to