X-Git-Url: https://rtime.felk.cvut.cz/gitweb/l4.git/blobdiff_plain/c06638d2e57a3230381daf1ccce3cf0dfd0eaa92..8d9e85aaae867f39cdd610261e3a4181c25add2d:/l4/pkg/examples/libs/shmc/prodcons.c diff --git a/l4/pkg/examples/libs/shmc/prodcons.c b/l4/pkg/examples/libs/shmc/prodcons.c index 03c4243ed..0a62eac8f 100644 --- a/l4/pkg/examples/libs/shmc/prodcons.c +++ b/l4/pkg/examples/libs/shmc/prodcons.c @@ -1,5 +1,7 @@ /* - * (c) 2008-2009 Technische Universität Dresden + * (c) 2008-2009 Adam Lackorzynski + * economic rights: Technische Universität Dresden (Germany) + * * This file is part of TUD:OS and distributed under the terms of the * GNU General Public License 2. * Please see the COPYING-GPL-2 file for details. @@ -21,7 +23,7 @@ #include // a small helper -#define CHK(func) if (func) { return (void *)-1; } +#define CHK(func) if (func) { printf("failure: %d\n", __LINE__); return (void *)-1; } static const char some_data[] = "Hi consumer!";