summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-08-25 02:57:08 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-08-25 02:57:08 +0000
commitb8d9929ea7b27b40b89e51d40cdd1cf4b30dc77f (patch)
tree33abc4eb899af09d741dc4b5915578cfda61cf97 /bin
parentd2cc47c256ca5cc7ddff925cb34e4c9355a42845 (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/csh/dir.c b/bin/csh/dir.c
index f908a5d9f936..4f8c44fc8460 100644
--- a/bin/csh/dir.c
+++ b/bin/csh/dir.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: dir.c,v 1.2 1994/09/24 02:53:54 davidg Exp $
+ * $Id: dir.c,v 1.3 1995/05/30 00:06:30 rgrimes Exp $
*/
#ifndef lint
@@ -84,7 +84,7 @@ dinit(hp)
/* Don't believe the login shell home, because it may be a symlink */
tcp = getwd(path); /* see ngetwd.c for System V version */
if (tcp == NULL || *tcp == '\0') {
- (void) fprintf(csherr, "csh: %s\n", path);
+ (void) fprintf(csherr, "csh: %s: %s\n", path, strerror(errno));
if (hp && *hp) {
tcp = short2str(hp);
if (chdir(tcp) == -1)