diff options
author | Eric Jackson <ericj@cvs.openbsd.org> | 2002-02-18 23:56:11 +0000 |
---|---|---|
committer | Eric Jackson <ericj@cvs.openbsd.org> | 2002-02-18 23:56:11 +0000 |
commit | 8b5e412be0d5f4f68f05e2f41dacb60c17e6391f (patch) | |
tree | f208dad62ebbdac88e7de395c09b5c99fbba76c8 /usr.bin/vi/common | |
parent | ee7f1b0c7181146d6ef402d04253be8eb037924b (diff) |
format string fixes
Diffstat (limited to 'usr.bin/vi/common')
-rw-r--r-- | usr.bin/vi/common/exf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vi/common/exf.c b/usr.bin/vi/common/exf.c index 34287fbfaa1..0eeda6601c6 100644 --- a/usr.bin/vi/common/exf.c +++ b/usr.bin/vi/common/exf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exf.c,v 1.15 2002/02/16 21:27:56 millert Exp $ */ +/* $OpenBSD: exf.c,v 1.16 2002/02/18 23:56:10 ericj Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 @@ -868,7 +868,7 @@ file_write(sp, fm, tm, name, flags) * Note that this code is harmless if you're using libc 4.6.x. */ if (LF_ISSET(FS_APPEND) && lseek(fd, (off_t)0, SEEK_END) < 0) { - msgq(sp, M_SYSERR, name); + msgq(sp, M_SYSERR, "%s", name); return (1); } #endif @@ -989,7 +989,7 @@ file_write(sp, fm, tm, name, flags) *--s = '.'; } } - msgq(sp, M_INFO, s); + msgq(sp, M_INFO, "%s", s) if (nf) FREE_SPACE(sp, p, 0); return (0); |