diff options
Diffstat (limited to 'sys/arch/i386/isa/pcvt/Util/scon/scon.c')
-rw-r--r-- | sys/arch/i386/isa/pcvt/Util/scon/scon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/scon/scon.c b/sys/arch/i386/isa/pcvt/Util/scon/scon.c index 92cf1ea7723..436cd143764 100644 --- a/sys/arch/i386/isa/pcvt/Util/scon/scon.c +++ b/sys/arch/i386/isa/pcvt/Util/scon/scon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scon.c,v 1.11 1999/01/13 07:26:06 niklas Exp $ */ +/* $OpenBSD: scon.c,v 1.12 1999/05/24 15:37:44 aaron Exp $ */ /* * Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch @@ -353,7 +353,7 @@ char *argv[]; { char buffer[80]; strcpy(buffer,"ERROR opening "); - strcat(buffer,device); + strncat(buffer,device,sizeof(buffer) - strlen(buffer)); perror(buffer); exit(1); } |