summaryrefslogtreecommitdiffstats
path: root/common/restart.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-08-22 09:47:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-08-23 07:47:49 +0200
commit3c2f5b7f14470c88fbea23e0c0e9823634daa52b (patch)
tree9d8ab23c77d72b106a2c2f3879ab964dd02e1973 /common/restart.c
parenta4084c85423c6bbedf07f2c923599ea4feaf7c59 (diff)
downloadbarebox-3c2f5b7f14470c88fbea23e0c0e9823634daa52b.tar.gz
barebox-3c2f5b7f14470c88fbea23e0c0e9823634daa52b.tar.xz
restart: fix restart_handler_get_by_name documentation
restart_handler_get_by_name() does what its name suggests, so reflect that in the documentation comment. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230822074738.3905283-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/restart.c')
-rw-r--r--common/restart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/restart.c b/common/restart.c
index 0294b36ecc..35cfb54251 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)
{