Index: uspace/app/tetris/scores.c
===================================================================
--- uspace/app/tetris/scores.c	(revision bd1745f43bd7ce20e34d764ac778e0f5dcdbd08a)
+++ uspace/app/tetris/scores.c	(revision f538ef39c116fd1e8552705280af8e806df93b39)
@@ -65,5 +65,4 @@
 #include <vfs/vfs.h>
 #include <stdlib.h>
-#include <err.h>
 #include <time.h>
 #include "screen.h"
Index: uspace/app/tetris/screen.c
===================================================================
--- uspace/app/tetris/screen.c	(revision bd1745f43bd7ce20e34d764ac778e0f5dcdbd08a)
+++ uspace/app/tetris/screen.c	(revision f538ef39c116fd1e8552705280af8e806df93b39)
@@ -54,5 +54,4 @@
  */
 
-#include <err.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -198,5 +197,6 @@
 		scr_end();
 	
-	errx(1, "aborting: %s", why);
+	fprintf(stderr, "aborting: %s", why);
+	abort();
 }
 
Index: uspace/app/tetris/tetris.c
===================================================================
--- uspace/app/tetris/tetris.c	(revision bd1745f43bd7ce20e34d764ac778e0f5dcdbd08a)
+++ uspace/app/tetris/tetris.c	(revision f538ef39c116fd1e8552705280af8e806df93b39)
@@ -56,5 +56,4 @@
 
 #include <sys/time.h>
-#include <err.h>
 #include <errno.h>
 #include <stdio.h>
@@ -289,6 +288,8 @@
 	for (i = 0; i <= 5; i++) {
 		for (j = i + 1; j <= 5; j++) {
-			if (keys[i] == keys[j])
-				errx(1, "%s", "duplicate command keys specified.");
+			if (keys[i] == keys[j]) {
+				fprintf(stderr, "duplicate command keys specified.");
+				abort();
+			}
 		}
 		
Index: uspace/lib/c/generic/getopt.c
===================================================================
--- uspace/lib/c/generic/getopt.c	(revision bd1745f43bd7ce20e34d764ac778e0f5dcdbd08a)
+++ uspace/lib/c/generic/getopt.c	(revision f538ef39c116fd1e8552705280af8e806df93b39)
@@ -34,7 +34,7 @@
 #include <assert.h>
 #include <stdarg.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <stddef.h>
-#include <err.h>
 #include <errno.h>
 #include <getopt.h>
Index: pace/lib/c/include/err.h
===================================================================
--- uspace/lib/c/include/err.h	(revision bd1745f43bd7ce20e34d764ac778e0f5dcdbd08a)
+++ 	(revision )
@@ -1,49 +1,0 @@
-/*
- * Copyright (c) 2006 Ondrej Palkovsky
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libc
- * @{
- */
-/** @file
- */
-
-#ifndef LIBC_ERR_H_
-#define LIBC_ERR_H_
-
-#include <stdio.h>
-
-#define errx(status, fmt, ...) \
-	do { \
-		printf((fmt), ##__VA_ARGS__); \
-		exit(status); \
-	} while (0)
-
-#endif
-
-/** @}
- */
