diff options
author | Karel Zak | 2013-03-15 14:23:04 +0100 |
---|---|---|
committer | Karel Zak | 2013-03-15 14:59:22 +0100 |
commit | a3bb7e65c426d21f619894e2b1dde5f07128a019 (patch) | |
tree | ca0b8797f32d46203b81072cc44e9096dbc4612e /libmount/src/fs.c | |
parent | libblkid: clean up header file (diff) | |
download | kernel-qcow2-util-linux-a3bb7e65c426d21f619894e2b1dde5f07128a019.tar.gz kernel-qcow2-util-linux-a3bb7e65c426d21f619894e2b1dde5f07128a019.tar.xz kernel-qcow2-util-linux-a3bb7e65c426d21f619894e2b1dde5f07128a019.zip |
libmount: clean up header file
* don't teach people C by header files, so use warn_unused_result
attribute only on places where we return allocated memory (to avoid
leaks in applications).
* merge multiple function attributes to the one list to make it
usable with gtk-doc
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/fs.c')
-rw-r--r-- | libmount/src/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/fs.c b/libmount/src/fs.c index 1545631bb..96c13d331 100644 --- a/libmount/src/fs.c +++ b/libmount/src/fs.c @@ -1208,7 +1208,7 @@ dev_t mnt_fs_get_devno(struct libmnt_fs *fs) /** * mnt_fs_get_tid: - * @fs: /proc/<tid>/mountinfo entry + * @fs: /proc/tid/mountinfo entry * * Returns: TID (task ID) for filesystems read from mountinfo file */ |