diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-06-01 02:09:15 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-05 04:01:59 +0200 |
commit | 33488845f211afcdb7e5c00a3152890e06cdc78e (patch) | |
tree | 8536b5849fddb5c6bb912a67b23eee42c8661ea5 /drivers/base/devtmpfs.c | |
parent | don't bother with registering rootfs (diff) | |
download | linux-33488845f211afcdb7e5c00a3152890e06cdc78e.tar.xz linux-33488845f211afcdb7e5c00a3152890e06cdc78e.zip |
constify ksys_mount() string arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/base/devtmpfs.c')
-rw-r--r-- | drivers/base/devtmpfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c index 0dbc43068eeb..ba5c80903efe 100644 --- a/drivers/base/devtmpfs.c +++ b/drivers/base/devtmpfs.c @@ -357,8 +357,7 @@ int devtmpfs_mount(const char *mntdir) if (!thread) return 0; - err = ksys_mount("devtmpfs", (char *)mntdir, "devtmpfs", MS_SILENT, - NULL); + err = ksys_mount("devtmpfs", mntdir, "devtmpfs", MS_SILENT, NULL); if (err) printk(KERN_INFO "devtmpfs: error mounting %i\n", err); else |