# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1239011281 0
# Node ID 1853f6c0b9b22edc4020e2ef4ead98b114108291
# Parent  79a28afc2bfacab59514c51a4996f3ef83eec55e
Removed IS_ERR() from minimal example.

diff -r 79a28afc2bfa -r 1853f6c0b9b2 examples/mini/mini.c
--- a/examples/mini/mini.c	Mon Apr 06 09:46:25 2009 +0000
+++ b/examples/mini/mini.c	Mon Apr 06 09:48:01 2009 +0000
@@ -376,8 +376,8 @@
     printk(KERN_INFO PFX "Starting...\n");
 
     master = ecrt_request_master(0);
-    if (IS_ERR(master)) {
-        ret = PTR_ERR(master); 
+    if (!master) {
+        ret = -EBUSY; 
         printk(KERN_ERR PFX "Requesting master 0 failed.\n");
         goto out_return;
     }