diff options
Diffstat (limited to 'drivers/base/devtmpfs.c')
-rw-r--r-- | drivers/base/devtmpfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c index f7768077e817..b93fc862d365 100644 --- a/drivers/base/devtmpfs.c +++ b/drivers/base/devtmpfs.c | |||
@@ -252,7 +252,7 @@ static int dev_rmdir(const char *name) | |||
252 | 252 | ||
253 | static int delete_path(const char *nodepath) | 253 | static int delete_path(const char *nodepath) |
254 | { | 254 | { |
255 | const char *path; | 255 | char *path; |
256 | int err = 0; | 256 | int err = 0; |
257 | 257 | ||
258 | path = kstrdup(nodepath, GFP_KERNEL); | 258 | path = kstrdup(nodepath, GFP_KERNEL); |