From 164ffab25150556325b62666a082d1fe76dfa45e Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Wed, 20 Jun 2018 19:00:43 +0000 Subject: *: remove \n from error code texts Should be handled by pager Signed-off-by: Quentin Young --- lib/lib_errors.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lib/lib_errors.c') diff --git a/lib/lib_errors.c b/lib/lib_errors.c index c659a7aae6..dcda9955df 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -26,7 +26,7 @@ static struct ferr_ref ferr_lib_err[] = { .code = LIB_ERR_PRIVILEGES, .title = "Failure to raise or lower privileges", .description = "FRR attempted to raise or lower its privileges and was unable to do so", - .suggestion = "Ensure that you are running FRR as the frr user and that the user has\nSufficient privileges to properly access root privileges" + .suggestion = "Ensure that you are running FRR as the frr user and that the user has sufficient privileges to properly access root privileges" }, { .code = LIB_ERR_VRF_START, @@ -37,14 +37,14 @@ static struct ferr_ref ferr_lib_err[] = { { .code = LIB_ERR_SOCKET, .title = "Socket Error", - .description = "When attempting to access a socket a system error has occured\nand we were unable to properly complete the request", - .suggestion = "Ensure that there are sufficient system resources available and\nensure that the frr user has sufficient permisions to work", + .description = "When attempting to access a socket a system error has occured and we were unable to properly complete the request", + .suggestion = "Ensure that there are sufficient system resources available and ensure that the frr user has sufficient permisions to work", }, { .code = LIB_ERR_ZAPI_MISSMATCH, .title = "ZAPI Error", .description = "A version miss-match has been detected between zebra and client protocol", - .suggestion = "Two different versions of FRR have been installed and the install is\nnot properly setup. Completely stop FRR, remove it from the system and\nreinstall. Typically only developers should see this issue." + .suggestion = "Two different versions of FRR have been installed and the install is not properly setup. Completely stop FRR, remove it from the system and reinstall. Typically only developers should see this issue." }, { .code = LIB_ERR_ZAPI_ENCODE, @@ -61,43 +61,43 @@ static struct ferr_ref ferr_lib_err[] = { { .code = LIB_ERR_SYSTEM_CALL, .title = "System Call Error", - .description = "FRR has detected a error from using a vital system call and has probably\nalready exited", - .suggestion = "Ensure permissions are correct for FRR files, users and groups are correct.\nAdditionally check that sufficient system resources are available." + .description = "FRR has detected a error from using a vital system call and has probably already exited", + .suggestion = "Ensure permissions are correct for FRR files, users and groups are correct. Additionally check that sufficient system resources are available." }, { .code = LIB_ERR_VTY, .title = "VTY Subsystem Error", .description = "FRR has detected a problem with the specified configuration file", - .suggestion = "Ensure configuration file exists and has correct permissions for operations\nAdditionally ensure that all config lines are correct as well", + .suggestion = "Ensure configuration file exists and has correct permissions for operations Additionally ensure that all config lines are correct as well", }, { .code = LIB_ERR_SNMP, .title = "SNMP Subsystem Error", - .description = "FRR has detected a problem with the snmp library it uses\nA callback from this subsystem has indicated some error", + .description = "FRR has detected a problem with the snmp library it uses A callback from this subsystem has indicated some error", .suggestion = "Examine callback message and ensure snmp is properly setup and working" }, { .code = LIB_ERR_INTERFACE, .title = "Interface Subsystem Error", - .description = "FRR has detected a problem with interface data from the kernel as it deviates\nfrom what we would expect to happen via normal netlink messaging", + .description = "FRR has detected a problem with interface data from the kernel as it deviates from what we would expect to happen via normal netlink messaging", .suggestion = "Open an Issue with all relevant log files and restart FRR" }, { .code = LIB_ERR_NS, .title = "NameSpace Subsystem Error", - .description = "FRR has detected a problem with NameSpace data from the kernel as it deviates\nfrom what we would expect to happen via normal kernel messaging", + .description = "FRR has detected a problem with NameSpace data from the kernel as it deviates from what we would expect to happen via normal kernel messaging", .suggestion = "Open an Issue with all relevant log files and restart FRR" }, { .code = LIB_ERR_DEVELOPMENT, .title = "Developmental Escape Error", - .description = "FRR has detected an issue where new development has not properly\nupdated all code paths.", + .description = "FRR has detected an issue where new development has not properly updated all code paths.", .suggestion = "Open an Issue with all relevant log files" }, { .code = LIB_ERR_ZMQ, .title = "ZMQ Subsystem Error", - .description = "FRR has detected an issue with the Zero MQ subsystem and ZeroMQ\nis not working properly now", + .description = "FRR has detected an issue with the Zero MQ subsystem and ZeroMQ is not working properly now", .suggestion = "Open an Issue with all relevant log files and restart FRR" }, { -- cgit v1.2.3