From c40f76e346ad844b9326c2049644b7b1d1a93e48 Mon Sep 17 00:00:00 2001 From: jc144527 Date: Wed, 27 Sep 2006 03:02:58 -0700 Subject: 6244408 bart manifest does not contain device node information 6408901 Pattern matching to exclude files in Rule file for /usr/bin/bart create not working --- usr/src/cmd/bart/create.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'usr/src/cmd/bart/create.c') diff --git a/usr/src/cmd/bart/create.c b/usr/src/cmd/bart/create.c index c1eb95eca6..dccfa3795b 100644 --- a/usr/src/cmd/bart/create.c +++ b/usr/src/cmd/bart/create.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. @@ -543,7 +542,7 @@ eval_file(const char *fname, const struct stat64 *statb) (int)statb->st_mtime, (int)statb->st_uid, (int)statb->st_gid); /* Finish it off based upon whether or not it's a device node */ - if ((ftype == 'B') && (ftype == 'C')) + if ((ftype == 'B') || (ftype == 'C')) (void) printf(" %x\n", (int)statb->st_rdev); else if (strlen(last_field) > 0) (void) printf(" %s\n", last_field); -- cgit v1.2.3