summaryrefslogtreecommitdiff
path: root/sutils
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-07-01 15:46:52 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-02 01:07:35 +0200
commit3caf5a90be518bae11427b417181376c2c80fb81 (patch)
treefda99551e78e068f4a23575a42c7ac8d70a9011f /sutils
parentb82f12741cffd5498b5ea2e87cc4fb809969d2ee (diff)
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.
Diffstat (limited to 'sutils')
-rw-r--r--sutils/fstab.c2
1 files changed, 1 insertions, 1 deletions
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)