Module: xenomai-forge
Branch: next
Commit: a634b49a82a901ff13ee24af6ed3bdf0001e1841
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=a634b49a82a901ff13ee24af6ed3bdf0001e1841

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Wed Mar 12 12:50:57 2014 +0100

copperplate: missing uses of early printf services

---

 lib/copperplate/init.c     |    4 ++--
 lib/copperplate/registry.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/copperplate/init.c b/lib/copperplate/init.c
index 58e5dc1..685d018 100644
--- a/lib/copperplate/init.c
+++ b/lib/copperplate/init.c
@@ -466,7 +466,7 @@ void copperplate_bootstrap_minimal(const char *arg0, char 
*mountpt)
 
        return;
 fail:
-       panic("initialization failed, %s", symerror(ret));
+       early_panic("initialization failed, %s", symerror(ret));
 }
 
 /* The application-level copperplate init call. */
@@ -608,7 +608,7 @@ void copperplate_init(int *argcp, char *const **argvp)
 
        return;
 fail:
-       panic("initialization failed, %s", symerror(ret));
+       early_panic("initialization failed, %s", symerror(ret));
 }
 
 void copperplate_register_skin(struct copperskin *p)
diff --git a/lib/copperplate/registry.c b/lib/copperplate/registry.c
index 185acba..270ed97 100644
--- a/lib/copperplate/registry.c
+++ b/lib/copperplate/registry.c
@@ -566,7 +566,7 @@ static void *registry_thread(void *arg)
         */
        ret = fuse_main(6, av, &regfs_opts);
        if (ret) {
-               warning("can't mount registry onto %s", p->mountpt);
+               early_warning("can't mount registry onto %s", p->mountpt);
                /* Attempt to figure out why we failed. */
                ret = access(p->mountpt, F_OK);
                p->status = ret ? -errno : -EPERM;
@@ -682,7 +682,7 @@ static int connect_regd(const char *sessdir, char **mountpt)
 
        free(*mountpt);
 
-       warning("cannot connect to registry daemon");
+       early_warning("cannot connect to registry daemon");
 
        return ret;
 }


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to