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
/
main.c
diff --git
a/usr/src/usr.sbin/config/main.c
b/usr/src/usr.sbin/config/main.c
index
d72ac93
..
4cb3e36
100644
(file)
--- a/
usr/src/usr.sbin/config/main.c
+++ b/
usr/src/usr.sbin/config/main.c
@@
-11,7
+11,7
@@
char copyright[] =
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)main.c 5.
4
(Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 5.
5
(Berkeley) %G%";
#endif not lint
#include <stdio.h>
#endif not lint
#include <stdio.h>
@@
-70,7
+70,7
@@
main(argc, argv)
char xxx[80];
(void) symlink("../h", path("sys"));
char xxx[80];
(void) symlink("../h", path("sys"));
- sprintf(xxx, "../%s", machinename);
+
(void)
sprintf(xxx, "../%s", machinename);
(void) symlink(xxx, path("machine"));
}
makefile(); /* build Makefile */
(void) symlink(xxx, path("machine"));
}
makefile(); /* build Makefile */