diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-02-22 17:01:00 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-02-22 17:01:00 +0000 |
commit | 407ef4f17ee659da92cbe5ffc1526828d94019eb (patch) | |
tree | f32eb89325299a3abade721ffe149b0e516747c1 /coreutils/stat.c | |
parent | 9a3bdf5633322049d91c475b3dd5ad868212d7ec (diff) | |
download | busybox-w32-407ef4f17ee659da92cbe5ffc1526828d94019eb.tar.gz busybox-w32-407ef4f17ee659da92cbe5ffc1526828d94019eb.tar.bz2 busybox-w32-407ef4f17ee659da92cbe5ffc1526828d94019eb.zip |
Patch from Denis Vlasenko to constify things and fix a few typos.
git-svn-id: svn://busybox.net/trunk/busybox@14210 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/stat.c')
-rw-r--r-- | coreutils/stat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/coreutils/stat.c b/coreutils/stat.c index 44289fbaa..c845a2aa7 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c | |||
@@ -120,12 +120,11 @@ static char const *human_fstype(long f_type) | |||
120 | { 0x858458f6, "romfs" }, | 120 | { 0x858458f6, "romfs" }, |
121 | { 0x73717368, "squashfs" }, | 121 | { 0x73717368, "squashfs" }, |
122 | { 0x62656572, "sysfs" }, | 122 | { 0x62656572, "sysfs" }, |
123 | { 0, "UNKNOWN" }, | 123 | { 0, "UNKNOWN" } |
124 | { 0, NULL } | ||
125 | }; | 124 | }; |
126 | for (i=0; humantypes[i].type; ++i) | 125 | for (i=0; humantypes[i].type; ++i) |
127 | if (humantypes[i].type == f_type) | 126 | if (humantypes[i].type == f_type) |
128 | return humantypes[i].fs; | 127 | break; |
129 | return humantypes[i].fs; | 128 | return humantypes[i].fs; |
130 | } | 129 | } |
131 | 130 | ||