diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-07-01 15:46:52 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-02 01:07:35 +0200 |
commit | 3caf5a90be518bae11427b417181376c2c80fb81 (patch) | |
tree | fda99551e78e068f4a23575a42c7ac8d70a9011f /sutils | |
parent | b82f12741cffd5498b5ea2e87cc4fb809969d2ee (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.c | 2 |
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) |