projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ANSI C; sprintf now returns an int.
[unix-history]
/
usr
/
src
/
usr.sbin
/
config
/
mkmakefile.c
diff --git
a/usr/src/usr.sbin/config/mkmakefile.c
b/usr/src/usr.sbin/config/mkmakefile.c
index
1893642
..
38836fb
100644
(file)
--- a/
usr/src/usr.sbin/config/mkmakefile.c
+++ b/
usr/src/usr.sbin/config/mkmakefile.c
@@
-5,7
+5,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)mkmakefile.c 5.1
8
(Berkeley) %G%";
+static char sccsid[] = "@(#)mkmakefile.c 5.1
9
(Berkeley) %G%";
#endif not lint
/*
#endif not lint
/*
@@
-388,7
+388,7
@@
do_objs(fp)
for (fl = conf_list; fl; fl = fl->f_next) {
if (fl->f_type != SWAPSPEC)
continue;
for (fl = conf_list; fl; fl = fl->f_next) {
if (fl->f_type != SWAPSPEC)
continue;
- sprintf(swapname, "swap%s.c", fl->f_fn);
+
(void)
sprintf(swapname, "swap%s.c", fl->f_fn);
if (eq(sp, swapname))
goto cont;
}
if (eq(sp, swapname))
goto cont;
}
@@
-432,7
+432,7
@@
do_cfiles(fp)
}
for (fl = conf_list; fl; fl = fl->f_next)
if (fl->f_type == SYSTEMSPEC) {
}
for (fl = conf_list; fl; fl = fl->f_next)
if (fl->f_type == SYSTEMSPEC) {
- sprintf(swapname, "swap%s.c", fl->f_fn);
+
(void)
sprintf(swapname, "swap%s.c", fl->f_fn);
if ((len = 3 + strlen(swapname)) + lpos > 72) {
lpos = 8;
fputs("\\\n\t", fp);
if ((len = 3 + strlen(swapname)) + lpos > 72) {
lpos = 8;
fputs("\\\n\t", fp);