diff options
author | Daniel Dickinson <lede@daniel.thecshore.com> | 2016-05-22 05:22:47 -0400 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-05-19 07:46:10 +0200 |
commit | 7a967198b9b18d00526094a43248b1c0892eb4aa (patch) | |
tree | d9a844e907c915e732883d41343a3ffbbb2bfe61 | |
parent | db5d39d48b9d9a77565015c1aafb3ef0d2925f02 (diff) | |
download | fstools-7a967198b9b18d00526094a43248b1c0892eb4aa.tar.gz |
block.c: Make static string a const char * instead char *
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>
-rw-r--r-- | block.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -627,7 +627,7 @@ static void check_filesystem(struct blkid_struct_probe *pr) { 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)) |