summaryrefslogtreecommitdiffstats
path: root/login-utils/last.c
diff options
context:
space:
mode:
authorSami Kerola2012-02-28 23:05:59 +0100
committerSami Kerola2012-03-18 14:28:03 +0100
commitba0c903004aa81caeca805472e83adeeb2269aa4 (patch)
tree30d08f1d750eaf2c50a3684fab5cc72ff59b7d27 /login-utils/last.c
parentlogin: add USER to initial environment (diff)
downloadkernel-qcow2-util-linux-ba0c903004aa81caeca805472e83adeeb2269aa4.tar.gz
kernel-qcow2-util-linux-ba0c903004aa81caeca805472e83adeeb2269aa4.tar.xz
kernel-qcow2-util-linux-ba0c903004aa81caeca805472e83adeeb2269aa4.zip
docs: add deprecation comments
Markup deprecation to command header to avoid people wasting time in fixing these utilities. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'login-utils/last.c')
-rw-r--r--login-utils/last.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/login-utils/last.c b/login-utils/last.c
index 734730b3a..417314ee5 100644
--- a/login-utils/last.c
+++ b/login-utils/last.c
@@ -27,6 +27,15 @@
*/
/*
+ * This command is deprecated. The utility is in maintenance mode,
+ * meaning we keep them in source tree for backward compatibility
+ * only. Do not waste time making this command better, unless the
+ * fix is about security or other very critical issue.
+ *
+ * See Documentation/deprecated.txt for more information.
+ */
+
+/*
* last
*/
#include <sys/param.h>