summaryrefslogtreecommitdiffstats
path: root/libmount/src/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/context.c')
-rw-r--r--libmount/src/context.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libmount/src/context.c b/libmount/src/context.c
index 721c497ef..21c64726f 100644
--- a/libmount/src/context.c
+++ b/libmount/src/context.c
@@ -1094,7 +1094,8 @@ struct libmnt_cache *mnt_context_get_cache(struct libmnt_context *cxt)
* @get: callback to get password
* @release: callback to release (delallocate) password
*
- * Sets callbacks for encryption password (e.g encrypted loopdev)
+ * Sets callbacks for encryption password (e.g encrypted loopdev). This
+ * function is deprecated (encrypted loops are no ore supported).
*
* Returns: 0 on success, negative number in case of error.
*/
@@ -1795,7 +1796,7 @@ int mnt_context_apply_fstab(struct libmnt_context *cxt)
"trying to apply fstab (src=%s, target=%s)", src, tgt));
/* let's initialize cxt->fs */
- mnt_context_get_fs(cxt);
+ ignore_result( mnt_context_get_fs(cxt) );
/* try fstab */
if (cxt->optsmode & MNT_OMODE_FSTAB) {