From 3caf5a90be518bae11427b417181376c2c80fb81 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Mon, 1 Jul 2013 15:46:52 +0200 Subject: sutils: fix a compiler warning Fix a compiler warning by dropping the const qualifier. It is not appropriate to qualify pointers to dynamically allocated memory as const. * sutils/fstab.c (real_name): Drop const qualifier. --- sutils/fstab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sutils') diff --git a/sutils/fstab.c b/sutils/fstab.c index b66e5195..1492ccde 100644 --- a/sutils/fstab.c +++ b/sutils/fstab.c @@ -498,7 +498,7 @@ inline struct fs * fstab_find (const struct fstab *fstab, const char *name) { struct fs *ret; - const char *real_name; + char *real_name; ret = fstab_find_device (fstab, name); if (ret) -- cgit v1.2.3