[PATCH master 2/3] restart: fix restart_handler_get_by_name documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



restart_handler_get_by_name() does what its name suggests, so reflect
that in the documentation comment.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 common/restart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/restart.c b/common/restart.c
index 0294b36eccca..35cfb542519d 100644
--- a/common/restart.c
+++ b/common/restart.c
@@ -74,7 +74,7 @@ int restart_handler_register_fn(const char *name,
 }
 
 /**
- * restart_handler_get_by_name() - reset the whole system
+ * restart_handler_get_by_name() - get highest priority `name'
  */
 struct restart_handler *restart_handler_get_by_name(const char *name, int flags)
 {
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux