diff options
author | jc144527 <none@none> | 2006-09-27 03:02:58 -0700 |
---|---|---|
committer | jc144527 <none@none> | 2006-09-27 03:02:58 -0700 |
commit | c40f76e346ad844b9326c2049644b7b1d1a93e48 (patch) | |
tree | 4d46f99564610fe7e620a69ea6f98ae7f44b3b2d /usr/src/cmd/bart/create.c | |
parent | 7d6c035b71d7c7b33a49c71bff266bf8aa9e0c24 (diff) | |
download | illumos-joyent-c40f76e346ad844b9326c2049644b7b1d1a93e48.tar.gz |
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
Diffstat (limited to 'usr/src/cmd/bart/create.c')
-rw-r--r-- | usr/src/cmd/bart/create.c | 7 |
1 files changed, 3 insertions, 4 deletions
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); |