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
lost the SCCS id's...
[unix-history]
/
usr
/
src
/
bin
/
df
/
df.c
diff --git
a/usr/src/bin/df/df.c
b/usr/src/bin/df/df.c
index
9a717e3
..
3227804
100644
(file)
--- a/
usr/src/bin/df/df.c
+++ b/
usr/src/bin/df/df.c
@@
-12,7
+12,7
@@
char copyright[] =
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)df.c 5.2
3
(Berkeley) %G%";
+static char sccsid[] = "@(#)df.c 5.2
4
(Berkeley) %G%";
#endif /* not lint */
/*
#endif /* not lint */
/*
@@
-90,7
+90,7
@@
main(argc, argv)
continue;
} else if ((stbuf.st_mode & S_IFMT) == S_IFBLK) {
if ((mntpt = getmntpt(*argv)) == 0) {
continue;
} else if ((stbuf.st_mode & S_IFMT) == S_IFBLK) {
if ((mntpt = getmntpt(*argv)) == 0) {
- mntpt = mktemp(
"/tmp/df.XXXXXX"
);
+ mntpt = mktemp(
strdup("/tmp/df.XXXXXX")
);
mdev.fspec = *argv;
if (mkdir(mntpt, DEFFILEMODE) != 0) {
fprintf(stderr, "df: %s: %s\n",
mdev.fspec = *argv;
if (mkdir(mntpt, DEFFILEMODE) != 0) {
fprintf(stderr, "df: %s: %s\n",