Minor changes in minimal example.
--- 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");
}
/*****************************************************************************/