diff options
| author | cgd <cgd@NetBSD.org> | 2001-03-22 02:41:02 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 2001-03-22 02:41:02 +0000 |
| commit | f60321832b3fd71475cdc8ced2bb89c754c5085a (patch) | |
| tree | fef18242351ec6735cab920cf0b2b3678536359d /usr.bin/mkdep | |
| parent | f3dd4051a1d17e0ae49303f034765f8fcac96b80 (diff) | |
a couple of tiny whitespace cleanups
Diffstat (limited to 'usr.bin/mkdep')
| -rw-r--r-- | usr.bin/mkdep/mkdep.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.bin/mkdep/mkdep.c b/usr.bin/mkdep/mkdep.c index c90aa30a383..8617be49657 100644 --- a/usr.bin/mkdep/mkdep.c +++ b/usr.bin/mkdep/mkdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: mkdep.c,v 1.7 2001/03/22 02:33:47 cgd Exp $ */ +/* $NetBSD: mkdep.c,v 1.8 2001/03/22 02:41:02 cgd Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -26,7 +26,7 @@ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1999 The NetBSD Foundation, Inc.\n\ #endif /* not lint */ #ifndef lint -__RCSID("$NetBSD: mkdep.c,v 1.7 2001/03/22 02:33:47 cgd Exp $"); +__RCSID("$NetBSD: mkdep.c,v 1.8 2001/03/22 02:41:02 cgd Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -85,7 +85,7 @@ findcc(progname) if ((next = strchr(progname, ' ')) != NULL) { *next = '\0'; } - + if (strchr(progname, '/') != NULL) return access(progname, X_OK) ? NULL : strdup(progname); @@ -206,8 +206,7 @@ main(argc, argv) (void)lseek(tmpfd, (off_t)0, SEEK_SET); if ((tmpfile = fdopen(tmpfd, "r")) == NULL) { - (void)fprintf(stderr, - "%s: unable to read temporary file %s\n", + (void)fprintf(stderr, "%s: unable to read temporary file %s\n", getprogname(), tmpfilename); (void)close(tmpfd); (void)unlink(tmpfilename); |
