Apply a patch from Evin Robertson -- new pivot_root applet.
[oweals/busybox.git] / tail.c
diff --git a/tail.c b/tail.c
index 40511aa7bbf3663dff4a90b4864cee8181470f32..d45b29c4c082cec6453ddfc0b366af1af91d2244 100644 (file)
--- a/tail.c
+++ b/tail.c
@@ -30,7 +30,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-static struct suffix_mult tail_suffixes[] = {
+static const struct suffix_mult tail_suffixes[] = {
        { "b", 512 },
        { "k", 1024 },
        { "m", 1048576 },
@@ -38,7 +38,7 @@ static struct suffix_mult tail_suffixes[] = {
 };
 
 #ifndef BB_FEATURE_SIMPLE_TAIL
-static struct suffix_mult null_suffixes[] = {
+static const struct suffix_mult null_suffixes[] = {
        { NULL, 0 }
 };
 #endif