Add in ifconfig and route
[oweals/busybox.git] / dd.c
diff --git a/dd.c b/dd.c
index dac9ccdf3907fd06fc1d00902ea4922bdaeb2423..75bbfbac2d4778db4d75fe3d6b47a2b14c1757c1 100644 (file)
--- a/dd.c
+++ b/dd.c
@@ -30,7 +30,7 @@
 #include <string.h>
 #include <fcntl.h>
 
-static struct suffix_mult dd_suffixes[] = {
+static const struct suffix_mult dd_suffixes[] = {
        { "c", 1 },
        { "w", 2 },
        { "b", 512 },
@@ -76,7 +76,7 @@ int dd_main(int argc, char **argv)
                                        sync = TRUE;
                                        buf += 4;
                                } else {
-                                       error_msg_and_die("invalid conversion `%s'\n", argv[i]+5);
+                                       error_msg_and_die("invalid conversion `%s'", argv[i]+5);
                                }
                                if (buf[0] == '\0')
                                        break;