* Definitions of Servers error strings
*/
-static const char * err_codes_netname[] = { /* 0 */
+static const char * const err_codes_netname[] = { /* 0 */
"(server/netname) name is not yours",
"(server/netname) name not checked in",
"(server/netname) no such host",
"(server/netname) host not found",
};
-static const char * err_codes_env_mgr[] = { /* 1 */
+static const char * const err_codes_env_mgr[] = { /* 1 */
NO_SUCH_ERROR,
"(server/env_mgr) variable not found",
"(server/env_mgr) wrong type of variable",
"(server/env_mgr) port table full",
"(server/env_mgr) attempting to enter a null port ",
};
-static const char * err_codes_execd[] = { /* 2 */
+static const char * const err_codes_execd[] = { /* 2 */
NO_SUCH_ERROR,
"(server/execd) could not find file to run",
"(server/execd) userid or password incorrect",
"(server/execd) fork failed",
};
-static const char * err_codes_netmemory[] = { /* 3 */
+static const char * const err_codes_netmemory[] = { /* 3 */
"(server/netmemory) successful",
"(server/netmemory) invalid argument",
"(server/netmemory) resource shortage",
};
-static const char * err_codes_ufs[] = { /* 4 */
+static const char * const err_codes_ufs[] = { /* 4 */
NO_SUCH_ERROR,
/* XXX "(server/ufs) invalid port", */
};
-static const char * err_codes_task_master[] = { /* 5 */
+static const char * const err_codes_task_master[] = { /* 5 */
"(server/task_master) GENERIC ERROR",
"(server/task_master) invalid tm_task port",
"(server/task_master) invalid task id",
"(server/task_master) invalid action",
};
-static const char * err_codes_ns[] = { /* 6 */
+static const char * const err_codes_ns[] = { /* 6 */
"(server/ns) GENERIC ERROR",
"(server/ns) invalid handle",
"(server/ns) name not found",
"(server/ns) entry not reserved",
};
-static const char * err_codes_io[] = { /* 7 */
+static const char * const err_codes_io[] = { /* 7 */
"(server/io) GENERIC ERROR",
"(server/io) invalid offset",
"(server/io) invalid size",
"(server/io) operation rejected under current I/O strategy",
};
-static const char * err_codes_auth[] = { /* 8 */
+static const char * const err_codes_auth[] = { /* 8 */
"(server/auth) GENERIC ERROR",
"(server/auth) bad private port",
"(server/auth) bad name",
"(server/auth) not secondary",
};
-static const char * err_codes_us[] = { /* 9 */
+static const char * const err_codes_us[] = { /* 9 */
"(server/us) GENERIC ERROR",
"(server/us) unknown error",
"(server/us) object not found",
"(server/us) internal error",
};
-static const char * err_codes_sunrpc[] = { /* 10 */
+static const char * const err_codes_sunrpc[] = { /* 10 */
"(server/sunrpc) GENERIC ERROR",
"(server/sunrpc) cannot encode arguments",
"(server/sunrpc) cannot decode results",
"(server/sunrpc) unknown protocol",
};
-static const char * err_codes_machobj[] = { /* 11 */
+static const char * const err_codes_machobj[] = { /* 11 */
"(server/object system) GENERIC ERROR",
"(server/object system) object not found",
"(server/object system) no such operation",
"(server/object system) bad ipc message format",
};
-static const char * err_codes_loader[] = { /* 12 */
+static const char * const err_codes_loader[] = { /* 12 */
"(server/loader) GENERIC ERROR",
"(server/loader) object file not relocated",
"(server/loader) unknown file type",
};
-static const char * err_codes_exception[] = { /* 13 */
+static const char * const err_codes_exception[] = { /* 13 */
"(server/exception) GENERIC ERROR",
"(server/exception) invalid access",
"(server/exception) invalid instruction",
"(server/exception) breakpoint exception",
};
-static const char * err_codes_ux_signal[] = { /* 14 */
+static const char * const err_codes_ux_signal[] = { /* 14 */
"(server/unix-signal) GENERIC ERROR",
"(server/unix-signal) hangup",
"(server/unix-signal) interrupt",
"(server/unix-signal) user-defined signal 2",
};
-static const char * err_codes_xkernel[] = { /* 15 */
+static const char * const err_codes_xkernel[] = { /* 15 */
"(server/xkernel) GENERIC ERROR",
"(server/xkernel) map full",
"(server/xkernel) inconsistent bind",