summaryrefslogtreecommitdiffstats
path: root/bin/ls/util.c
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-12-14 06:03:29 +0000
committersteve <steve@FreeBSD.org>1996-12-14 06:03:29 +0000
commit69ca26a30523449bee72a8ea347bfcc2b42d077c (patch)
tree163f19c661895d601b0a50b8c43ae2b7724325db /bin/ls/util.c
parentbf89557b965b65cdaf9e19c5c46ee200420c354e (diff)
downloadFreeBSD-src-69ca26a30523449bee72a8ea347bfcc2b42d077c.zip
FreeBSD-src-69ca26a30523449bee72a8ea347bfcc2b42d077c.tar.gz
Merge Lite2 mods, and -Wall cleaning. undelete(2) cruft
not yet implemented is protected by a define (BSD4_4_LITE) that should be removed when this call is supported by the kernel.
Diffstat (limited to 'bin/ls/util.c')
-rw-r--r--bin/ls/util.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/ls/util.c b/bin/ls/util.c
index d16ab6a..d452a4b 100644
--- a/bin/ls/util.c
+++ b/bin/ls/util.c
@@ -33,11 +33,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: util.c,v 1.4 1994/10/09 15:25:23 ache Exp $
+ * $Id: util.c,v 1.5 1996/03/31 16:14:11 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)util.c 8.3 (Berkeley) 4/2/94";
+static char const sccsid[] = "@(#)util.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
@@ -68,6 +68,10 @@ prcopy(src, dest, len)
void
usage()
{
+#ifdef BSD4_4_LITE
(void)fprintf(stderr, "usage: ls [-1ACFLRTacdfiklqrstu] [file ...]\n");
+#else
+ (void)fprintf(stderr, "usage: ls [-1ACFLRTWacdfiklqrstu] [file ...]\n");
+#endif
exit(1);
}
OpenPOWER on IntegriCloud