diff options
author | Karel Zak <kzak@redhat.com> | 2009-03-03 16:25:23 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2009-03-03 16:25:23 +0100 |
commit | 7926576ec2f3d25aecbc128b851326b6dbf85662 (patch) | |
tree | df2138d4ee544697df722b1ec28822102c7586d8 /mount | |
parent | 4b350e012005276f445a6aec4d64f099e2860687 (diff) | |
download | util-linux-old-7926576ec2f3d25aecbc128b851326b6dbf85662.tar.gz |
lib: fix fsprobe wrapper (const char * is nonsense)
The fsprobe_ functions return newly allocated strings.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount')
-rw-r--r-- | mount/fstab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mount/fstab.c b/mount/fstab.c index c238fa2d..13dda871 100644 --- a/mount/fstab.c +++ b/mount/fstab.c @@ -916,8 +916,8 @@ update_mtab (const char *dir, struct my_mntent *instead) { * number and writes the number back to the file. */ /* dummy */ -const char *fsprobe_get_label_by_devname(const char *spec) { return NULL; } -const char *fsprobe_get_uuid_by_devname(const char *spec) { return NULL; } +char *fsprobe_get_label_by_devname(const char *spec) { return NULL; } +char *fsprobe_get_uuid_by_devname(const char *spec) { return NULL; } int fsprobe_parse_spec(const char *spec, char **name, char **value) { return 0; } struct my_mntent *my_getmntent (mntFILE *mfp) { return NULL; } mntFILE *my_setmntent (const char *file, char *mode) { return NULL; } |