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
add confSORT_QUEUE_BY_HOST and confBROKEN_SMTP_PEERS
[unix-history]
/
usr
/
src
/
usr.sbin
/
dev_mkdb
/
dev_mkdb.c
diff --git
a/usr/src/usr.sbin/dev_mkdb/dev_mkdb.c
b/usr/src/usr.sbin/dev_mkdb/dev_mkdb.c
index
8b99709
..
efb745b
100644
(file)
--- a/
usr/src/usr.sbin/dev_mkdb/dev_mkdb.c
+++ b/
usr/src/usr.sbin/dev_mkdb/dev_mkdb.c
@@
-1,18
+1,18
@@
/*-
/*-
- * Copyright (c) 1990
The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1990
, 1993
+ *
The Regents of the University of California.
All rights reserved.
*
* %sccs.include.redist.c%
*/
#ifndef lint
*
* %sccs.include.redist.c%
*/
#ifndef lint
-char copyright[] =
-"@(#) Copyright (c) 1990
The Regents of the University of California.
\n\
- All rights reserved.\n";
+
static
char copyright[] =
+"@(#) Copyright (c) 1990
, 1993
\n\
+
The Regents of the University of California.
All rights reserved.\n";
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)dev_mkdb.c
5.13
(Berkeley) %G%";
+static char sccsid[] = "@(#)dev_mkdb.c
8.1
(Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
@@
-87,7
+87,7
@@
main(argc, argv)
key.size = sizeof(bkey);
data.data = buf;
while (dp = readdir(dirp)) {
key.size = sizeof(bkey);
data.data = buf;
while (dp = readdir(dirp)) {
- if (stat(dp->d_name, &sb)) {
+ if (
l
stat(dp->d_name, &sb)) {
(void)fprintf(stderr,
"dev_mkdb: %s: %s\n", dp->d_name, strerror(errno));
continue;
(void)fprintf(stderr,
"dev_mkdb: %s: %s\n", dp->d_name, strerror(errno));
continue;