Apply a patch from Evin Robertson -- new pivot_root applet.
[oweals/busybox.git] / mt.c
diff --git a/mt.c b/mt.c
index 70d03cca40177f3f02d9ca29d26faab33423f8f0..683804b5a90458d654676075b878f6b01f805514 100644 (file)
--- a/mt.c
+++ b/mt.c
@@ -1,6 +1,7 @@
 /* vi: set sw=4 ts=4: */
 #include "busybox.h"
 #include <stdio.h>
+#include <stdlib.h>
 #include <sys/mtio.h>
 #include <sys/fcntl.h>
 
@@ -75,7 +76,7 @@ extern int mt_main(int argc, char **argv)
        }
 
        if (code->name == 0) {
-               error_msg("unrecognized opcode %s.\n", argv[1]);
+               error_msg("unrecognized opcode %s.", argv[1]);
                return EXIT_FAILURE;
        }