Cleanup gres_plugin_help_msg() to remove strcat().
Just return an xmalloc()'d string rather than handle all this manual buffer length tracking. The only calling path into here is trivially updated to work with this instead. Note that gres_plugin_init() always returns 0 at present, so take the opportunity to simplify that handling as well.
Please register or sign in to comment