summaryrefslogtreecommitdiffstats
path: root/bin/pax/gen_subs.c
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-12-14 06:08:03 +0000
committersteve <steve@FreeBSD.org>1996-12-14 06:08:03 +0000
commitc5d0f9cb3928db35413db774a96dc2a8eb85b141 (patch)
tree2f12bbee87f3b5e7477f863c11ba6545497513ad /bin/pax/gen_subs.c
parent0aef04187c65f5b7c84d848d3becef7ee602a9d9 (diff)
downloadFreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.zip
FreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.tar.gz
-Wall cleaning.
Diffstat (limited to 'bin/pax/gen_subs.c')
-rw-r--r--bin/pax/gen_subs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/pax/gen_subs.c b/bin/pax/gen_subs.c
index 4c3efdf..c5bdd6c 100644
--- a/bin/pax/gen_subs.c
+++ b/bin/pax/gen_subs.c
@@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: gen_subs.c,v 1.5 1995/08/07 19:17:36 wollman Exp $
+ * $Id: gen_subs.c,v 1.6 1995/10/23 21:23:14 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
+static char const sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
@@ -132,10 +132,11 @@ ls_list(arcn, now)
if ((arcn->type == PAX_CHR) || (arcn->type == PAX_BLK))
# ifdef NET2_STAT
(void)printf("%4u,%4u ", MAJOR(sbp->st_rdev),
+ MINOR(sbp->st_rdev));
# else
(void)printf("%4lu,%4lu ", (unsigned long)MAJOR(sbp->st_rdev),
+ (unsigned long)MINOR(sbp->st_rdev));
# endif
- MINOR(sbp->st_rdev));
else {
# ifdef NET2_STAT
(void)printf("%9lu ", sbp->st_size);
OpenPOWER on IntegriCloud