summaryrefslogtreecommitdiff
path: root/usr/src/cmd/bart/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/bart/create.c')
-rw-r--r--usr/src/cmd/bart/create.c7
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);