aboutsummaryrefslogtreecommitdiff
path: root/loginutils/deluser.c
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/deluser.c
parent1b2b5cfba81aab3e56d374ee3dcee97cde4bcb4e (diff)
downloadbusybox-w32-20cc6d567f8cc21405ab05ca62a6955a5b1277b5.tar.gz
busybox-w32-20cc6d567f8cc21405ab05ca62a6955a5b1277b5.tar.bz2
busybox-w32-20cc6d567f8cc21405ab05ca62a6955a5b1277b5.zip
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 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);