svn commit: r358826 - head/usr.bin/posixshmcontrol

Konstantin Belousov kib at FreeBSD.org
Mon Mar 9 23:08:25 UTC 2020


Author: kib
Date: Mon Mar  9 23:08:24 2020
New Revision: 358826
URL: https://svnweb.freebsd.org/changeset/base/358826

Log:
  posixshmcontrol: add an undocumented alias 'list' for the 'ls' command.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days

Modified:
  head/usr.bin/posixshmcontrol/posixshmcontrol.c

Modified: head/usr.bin/posixshmcontrol/posixshmcontrol.c
==============================================================================
--- head/usr.bin/posixshmcontrol/posixshmcontrol.c	Mon Mar  9 21:55:26 2020	(r358825)
+++ head/usr.bin/posixshmcontrol/posixshmcontrol.c	Mon Mar  9 23:08:24 2020	(r358826)
@@ -446,6 +446,7 @@ struct opmode {
 static const struct opmode opmodes[] = {
 	{ .cmd = "create",	.impl = create_shm},
 	{ .cmd = "rm",		.impl = delete_shm, },
+	{ .cmd = "list",	.impl = list_shm },
 	{ .cmd = "ls",		.impl = list_shm },
 	{ .cmd = "dump",	.impl = read_shm, },
 	{ .cmd = "stat",	.impl = stat_shm, },


More information about the svn-src-head mailing list