summaryrefslogtreecommitdiff
path: root/libbb/mtab_file.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-19 09:55:09 +0000
committerDenis Vlasenko2006-09-19 09:55:09 +0000
commit0b5fd45ef71fd24bf4a0c82820543bb66a5faba1 (patch)
tree4995ecb1539acf19c0dd8bb4eccfde875a961ce3 /libbb/mtab_file.c
parent9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (diff)
downloadbusybox-0b5fd45ef71fd24bf4a0c82820543bb66a5faba1.zip
busybox-0b5fd45ef71fd24bf4a0c82820543bb66a5faba1.tar.gz
change char *string = "foo" -> char string[] = "foo"
function old new delta xsetenv 45 44 -1 iproute_list_or_flush 1834 1833 -1 ipaddr_modify 1915 1914 -1 ipaddr_list_or_flush 1861 1860 -1 invarg 39 38 -1 do_set 1259 1258 -1 bb_verror_msg 268 267 -1 create_icmp_socket 142 140 -2 create_icmp6_socket 142 140 -2 bb_full_fd_action 324 322 -2 bb_path_mtab_file 10 - -10 .rodata 214796 214720 -76 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/11 up/down: 0/-99) Total: -99 bytes
Diffstat (limited to 'libbb/mtab_file.c')
-rw-r--r--libbb/mtab_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/mtab_file.c b/libbb/mtab_file.c
index 92bd239..3181d6d 100644
--- a/libbb/mtab_file.c
+++ b/libbb/mtab_file.c
@@ -13,5 +13,5 @@
/* Busybox mount uses either /proc/mounts or /etc/mtab to
* get the list of currently mounted filesystems */
-char bb_path_mtab_file[] = USE_FEATURE_MTAB_SUPPORT("/etc/mtab")
- SKIP_FEATURE_MTAB_SUPPORT("/proc/mounts");
+const char bb_path_mtab_file[] = USE_FEATURE_MTAB_SUPPORT("/etc/mtab")
+ SKIP_FEATURE_MTAB_SUPPORT("/proc/mounts");