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