On 2/12/06, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
Hi..
> char str1[256]="to be passed in";
try to replace it with "char * str". Somehow, defining the variable as
fixed length string makes something goes wrong...
Nope, that doesn't fix it. I get the same results.
However, I did find this:
Summary of changes from v2.6.10 to v2.6.11
============================================
[PATCH] handle quoted module parameters
Fix module parameter quote handling.
Module parameter strings (with spaces) are quoted like so:
"modprm=this test"
and not like this:
modprm="this test"
http://mirror.israel.net/pub/linux/kernel/v2.6/ChangeLog-2.6.11
============================================
[PATCH] handle quoted module parameters
Fix module parameter quote handling.
Module parameter strings (with spaces) are quoted like so:
"modprm=this test"
and not like this:
modprm="this test"
http://mirror.israel.net/pub/linux/kernel/v2.6/ChangeLog-2.6.11
So I guess this still assumes that in 2.6.10(which I'm running also) still supported modprm="this test" since this documents a change from 2.6.10 to 2.6.11.
regards
Mulyadi