summaryrefslogtreecommitdiff
path: root/usr/src/lib/libcmd/common/deflt.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libcmd/common/deflt.c')
-rw-r--r--usr/src/lib/libcmd/common/deflt.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/src/lib/libcmd/common/deflt.c b/usr/src/lib/libcmd/common/deflt.c
index 42f09bc532..a8f82edd8a 100644
--- a/usr/src/lib/libcmd/common/deflt.c
+++ b/usr/src/lib/libcmd/common/deflt.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -135,7 +134,7 @@ defopen(char *fn)
return (0);
}
- if ((thr_data->fp = fopen(fn, "r")) == NULL)
+ if ((thr_data->fp = fopen(fn, "rF")) == NULL)
return (-1);
thr_data->Dcflags = DC_STD;