aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-09-12 21:42:17 +0000
committerRob Landley <rob@landley.net>2006-09-12 21:42:17 +0000
commit20cc6d567f8cc21405ab05ca62a6955a5b1277b5 (patch)
treed8f7b3cd70149f3e0e291cc10a14c06917d34cb5 /loginutils
parent1b2b5cfba81aab3e56d374ee3dcee97cde4bcb4e (diff)
downloadbusybox-20cc6d567f8cc21405ab05ca62a6955a5b1277b5.tar.gz
Remove pointless "const". Bloatcheck says 0 bytes difference.
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/deluser.c3
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)
if ((passwd = bb_wfopen(filename, "r"))) {
- xstat(filename, &statbuf);
+ // Remove pointless const.
+ xstat((char *)filename, &statbuf);
buffer = (char *) xmalloc(statbuf.st_size * sizeof(char));
fread(buffer, statbuf.st_size, sizeof(char), passwd);
fclose(passwd);