There is no reason for e2fsck string to be altered, and the
only places where is used take const char * as parameters
so make e2fsck a const char *.
Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
{
pid_t pid;
struct stat statbuf;
{
pid_t pid;
struct stat statbuf;
- char *e2fsck = "/usr/sbin/e2fsck";
+ const char *e2fsck = "/usr/sbin/e2fsck";
/* UBIFS does not need stuff like fsck */
if (!strncmp(pr->id->name, "ubifs", 5))
/* UBIFS does not need stuff like fsck */
if (!strncmp(pr->id->name, "ubifs", 5))