mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Synchronize with sys/i386/isa/syscons.c revision 1.223.
This commit is contained in:
parent
1073170298
commit
d6314be8f2
1 changed files with 3 additions and 1 deletions
|
|
@ -25,7 +25,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.c,v 1.44 1997/07/07 12:47:36 kato Exp $
|
||||
* $Id: syscons.c,v 1.45 1997/07/09 14:43:19 kato Exp $
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
|
|
@ -1102,6 +1102,8 @@ scioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
|
|||
|
||||
case CONS_HISTORY: /* set history size */
|
||||
if (*data) {
|
||||
if (cur_console->status & BUFFER_SAVED)
|
||||
return EBUSY;
|
||||
if (scp->history != NULL)
|
||||
free(scp->history, M_DEVBUF);
|
||||
#ifdef PC98
|
||||
|
|
|
|||
Loading…
Reference in a new issue