[21/22] sysfs.2: SYNOPSIS: Mark as [[deprecated]]

Message ID 20211030213131.140429-22-alx.manpages@gmail.com
State Not applicable
Headers
Series man2: Add [[deprecated]] attribute |

Checks

Context Check Description
dj/TryBot-apply_patch fail Patch failed to apply to master at the time it was sent

Commit Message

Alejandro Colomar Oct. 30, 2021, 9:31 p.m. UTC
  Use proc(5) instead.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/sysfs.2 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Patch

diff --git a/man2/sysfs.2 b/man2/sysfs.2
index 0bf2a60c0..10a4f0d43 100644
--- a/man2/sysfs.2
+++ b/man2/sysfs.2
@@ -29,9 +29,9 @@ 
 sysfs \- get filesystem type information
 .SH SYNOPSIS
 .nf
-.BI "int sysfs(int " option ", const char *" fsname );
-.BI "int sysfs(int " option ", unsigned int " fs_index ", char *" buf );
-.BI "int sysfs(int " option );
+.BI "[[deprecated]] int sysfs(int " option ", const char *" fsname );
+.BI "[[deprecated]] int sysfs(int " option ", unsigned int " fs_index ", char *" buf );
+.BI "[[deprecated]] int sysfs(int " option );
 .fi
 .SH DESCRIPTION
 .BR "Note" :