dont use the -i option of xargs
[oweals/busybox.git] / miscutils / dutmp.c
index cce260ca4955ead13c3f0c6e3897c8dbc43e3fba..19e09fbb0a178dbb5c79988b2449a828acf54a58 100644 (file)
@@ -34,12 +34,12 @@ extern int dutmp_main(int argc, char **argv)
        } else  {
                file = open(argv[1], O_RDONLY);
                if (file < 0) {
-                       perror_msg_and_die(io_error, argv[1]);
+                       error_msg_and_die(io_error, argv[1]);
                }
        }
 
 /* Kludge around the fact that the binary format for utmp has changed. */
-#if __GNU_LIBRARY__ < 5 || defined __UCLIBC__
+#if __GNU_LIBRARY__ < 5
        /* Linux libc5 */
        while (read(file, (void*)&ut, sizeof(struct utmp))) {
                printf("%d|%d|%s|%s|%s|%s|%s|%lx\n",