mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
Fix a bug where restore(8) segfaults while trying to restore on a
read-only FS. Reviewed by: audit silence Approved by: markm MFC after: 2 weeks
This commit is contained in:
parent
e5217bf6e8
commit
646d372751
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85746
@ -471,6 +471,7 @@ dumpsymtable(filename, checkpt)
|
|||||||
fprintf(stderr, "fopen: %s\n", strerror(errno));
|
fprintf(stderr, "fopen: %s\n", strerror(errno));
|
||||||
panic("cannot create save file %s for symbol table\n",
|
panic("cannot create save file %s for symbol table\n",
|
||||||
filename);
|
filename);
|
||||||
|
done(1);
|
||||||
}
|
}
|
||||||
clearerr(fd);
|
clearerr(fd);
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user