diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-12 21:42:17 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-12 21:42:17 +0000 |
commit | 61680ced25e3ffe351d4a05a05387b09d5602c11 (patch) | |
tree | d8f7b3cd70149f3e0e291cc10a14c06917d34cb5 /loginutils | |
parent | f4440f180acd67f8e91728872a83aec6d7b0435f (diff) | |
download | busybox-w32-61680ced25e3ffe351d4a05a05387b09d5602c11.tar.gz busybox-w32-61680ced25e3ffe351d4a05a05387b09d5602c11.tar.bz2 busybox-w32-61680ced25e3ffe351d4a05a05387b09d5602c11.zip |
Remove pointless "const". Bloatcheck says 0 bytes difference.
git-svn-id: svn://busybox.net/trunk/busybox@16110 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/deluser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loginutils/deluser.c b/loginutils/deluser.c index 1b9bc4439..d93a550fa 100644 --- a/loginutils/deluser.c +++ b/loginutils/deluser.c | |||
@@ -60,7 +60,8 @@ static void del_line_matching(const char *login, const char *filename) | |||
60 | 60 | ||
61 | 61 | ||
62 | if ((passwd = bb_wfopen(filename, "r"))) { | 62 | if ((passwd = bb_wfopen(filename, "r"))) { |
63 | xstat(filename, &statbuf); | 63 | // Remove pointless const. |
64 | xstat((char *)filename, &statbuf); | ||
64 | buffer = (char *) xmalloc(statbuf.st_size * sizeof(char)); | 65 | buffer = (char *) xmalloc(statbuf.st_size * sizeof(char)); |
65 | fread(buffer, statbuf.st_size, sizeof(char), passwd); | 66 | fread(buffer, statbuf.st_size, sizeof(char), passwd); |
66 | fclose(passwd); | 67 | fclose(passwd); |