diff options
author | Rob Landley <rob@landley.net> | 2006-09-12 21:42:17 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-09-12 21:42:17 +0000 |
commit | 20cc6d567f8cc21405ab05ca62a6955a5b1277b5 (patch) | |
tree | d8f7b3cd70149f3e0e291cc10a14c06917d34cb5 /loginutils | |
parent | 1b2b5cfba81aab3e56d374ee3dcee97cde4bcb4e (diff) | |
download | busybox-20cc6d567f8cc21405ab05ca62a6955a5b1277b5.tar.gz |
Remove pointless "const". Bloatcheck says 0 bytes difference.
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) 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); |