mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 10:43:32 +00:00
list' should be an extern'd
char **', not a local `char *' which we
never set. Ideally, we'd get the extern from tutor.h, but that defines a number of other variables that conflict with ours. This fixes a segmentation fault when trying to return to the main menu. PR: 30172
This commit is contained in:
parent
d66de00d95
commit
9429078c33
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82870
@ -41,7 +41,8 @@ static const char rcsid[] =
|
||||
|
||||
#include "back.h"
|
||||
|
||||
char *prompt, *list, *opts;
|
||||
extern const char *const list[];
|
||||
char *prompt, *opts;
|
||||
|
||||
const char *const doubl[] = {
|
||||
"\nDoubling:",
|
||||
|
Loading…
Reference in New Issue
Block a user