From 81c096f2ed1e8c5ec783b1403a7ed442077bb208 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 26 Feb 2014 10:09:01 +0100 Subject: [PATCH] swapon.2: Add EINVAL error for invalid flags to swapon() Signed-off-by: Michael Kerrisk --- man2/swapon.2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man2/swapon.2 b/man2/swapon.2 index dec97dceb..9ab380cad 100644 --- a/man2/swapon.2 +++ b/man2/swapon.2 @@ -129,6 +129,11 @@ exists, but refers neither to a regular file nor to a block device; The indicated path does not contain a valid swap signature or resides on an in-memory filesystem such as tmpfs. .TP +.BR EINVAL " (since Linux 3.4)" +.RB ( swapon ()) +An invalid flag value was specified in +.IR flags . +.TP .B EINVAL .RB ( swapoff ()) .I path