From 20cc6d567f8cc21405ab05ca62a6955a5b1277b5 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 12 Sep 2006 21:42:17 +0000 Subject: Remove pointless "const". Bloatcheck says 0 bytes difference. --- loginutils/deluser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'loginutils') 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); -- cgit v1.1