Minor changes in minimal example.
authorFlorian Pose <fp@igh-essen.com>
Mon, 12 Mar 2007 18:12:30 +0000
changeset 654 8278e1e27010
parent 653 33aa0e7e5a68
child 655 3702f0d6693b
Minor changes in minimal example.
examples/mini/mini.c
--- a/examples/mini/mini.c	Mon Mar 12 16:40:23 2007 +0000
+++ b/examples/mini/mini.c	Mon Mar 12 18:12:30 2007 +0000
@@ -238,8 +238,10 @@
     return 0;
 
  out_release_master:
+    printk(KERN_ERR PFX "Releasing master...\n");
     ecrt_release_master(master);
  out_return:
+    printk(KERN_ERR PFX "Failed to load. Aborting.\n");
     return -1;
 }
 
@@ -253,7 +255,7 @@
     printk(KERN_INFO PFX "Releasing master...\n");
     ecrt_release_master(master);
 
-    printk(KERN_INFO PFX "Stopped.\n");
+    printk(KERN_INFO PFX "Unloading.\n");
 }
 
 /*****************************************************************************/