summaryrefslogtreecommitdiff
path: root/loginutils/deluser.c
diff options
context:
space:
mode:
authorRob Landley2006-09-12 21:42:17 +0000
committerRob Landley2006-09-12 21:42:17 +0000
commit20cc6d567f8cc21405ab05ca62a6955a5b1277b5 (patch)
treed8f7b3cd70149f3e0e291cc10a14c06917d34cb5 /loginutils/deluser.c
parent1b2b5cfba81aab3e56d374ee3dcee97cde4bcb4e (diff)
downloadbusybox-20cc6d567f8cc21405ab05ca62a6955a5b1277b5.zip
busybox-20cc6d567f8cc21405ab05ca62a6955a5b1277b5.tar.gz
Remove pointless "const". Bloatcheck says 0 bytes difference.
Diffstat (limited to 'loginutils/deluser.c')
-rw-r--r--loginutils/deluser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loginutils/deluser.c b/loginutils/deluser.c
index 1b9bc44..d93a550 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);