fixing modprobe hint in libs
PATCH 1/1 fixing modprobe hint in libs
Hi,
this patches fixes the hint a user sees when trying to start some RT-application without the related core service being available. Might be frustrating for a newbie if the suggested command fails...
Jan
skins/uvm/init.c +1 -1
@@ -56,7 +56,7 @@case -ESRCH :fprintf (stderr,"Xenomai: UVM skin or CONFIG_XENO_OPT_PERVASIVE disabled.\n" ); -fprintf (stderr,"(modprobe xeno_uvm.ko?)\n" ); +fprintf (stderr,"(modprobe xeno_uvm?)\n" );exit (1 );default :
skins/rtai/init.c +1 -1
@@ -53,7 +53,7 @@case -ESRCH :fprintf (stderr,"Xenomai: RTAI skin or CONFIG_XENO_OPT_PERVASIVE disabled.\n" ); -fprintf (stderr,"(modprobe xeno_rtai.ko?)\n" ); +fprintf (stderr,"(modprobe xeno_rtai?)\n" );exit (1 );default :
skins/posix/init.c +1 -1
@@ -59,7 +59,7 @@case -ESRCH :fprintf (stderr,"Xenomai: POSIX skin or CONFIG_XENO_OPT_PERVASIVE disabled.\n" ); -fprintf (stderr,"(modprobe xeno_posix.ko?)\n" ); +fprintf (stderr,"(modprobe xeno_posix?)\n" );exit (1 );default :
skins/native/init.c +1 -1
@@ -65,7 +65,7 @@case -ESRCH :fprintf (stderr,"Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.\n" ); -fprintf (stderr,"(modprobe xeno_native.ko?)\n" ); +fprintf (stderr,"(modprobe xeno_native?)\n" );exit (1 );default :
Philippe Gerum
AppliedQuoted 6 lines · Jan Kiszka
Hi,
this patches fixes the hint a user sees when trying to start some RT-application without the related core service being available. Might be frustrating for a newbie if the suggested command fails...
Applied, thanks.
Quoted 65 lines
Jan
------------------------------------------------------------------------
Index:
src/skins/uvm/init.c
===================================================================skins/uvm/init.c +1
-1@@ -56,7 +56,7 @@case -ESRCH :fprintf (stderr,"Xenomai: UVM skin or CONFIG_XENO_OPT_PERVASIVE disabled.\n" ); -fprintf (stderr,"(modprobe xeno_uvm.ko?)\n" ); +fprintf (stderr,"(modprobe xeno_uvm?)\n" );exit (1 );default :Index:
src/skins/rtai/init.c
===================================================================skins/rtai/init.c +1
-1@@ -53,7 +53,7 @@case -ESRCH :fprintf (stderr,"Xenomai: RTAI skin or CONFIG_XENO_OPT_PERVASIVE disabled.\n" ); -fprintf (stderr,"(modprobe xeno_rtai.ko?)\n" ); +fprintf (stderr,"(modprobe xeno_rtai?)\n" );exit (1 );default :Index:
src/skins/posix/init.c
===================================================================skins/posix/init.c +1
-1@@ -59,7 +59,7 @@case -ESRCH :fprintf (stderr,"Xenomai: POSIX skin or CONFIG_XENO_OPT_PERVASIVE disabled.\n" ); -fprintf (stderr,"(modprobe xeno_posix.ko?)\n" ); +fprintf (stderr,"(modprobe xeno_posix?)\n" );exit (1 );default :Index:
src/skins/native/init.c
===================================================================skins/native/init.c +1
-2@@ -65,7 +65,7 @@case -ESRCH :fprintf (stderr,"Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.\n" ); -fprintf (stderr,"(modprobe xeno_native.ko?)\n" ); +fprintf (stderr,"(modprobe xeno_native?)\n" );exit (1 );default : ------------------------------------------------------------------------_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.