changeset 5583:790dec1815e0 HEAD

Compile fix for Tru64.
author Timo Sirainen <tss@iki.fi>
date Wed, 09 May 2007 11:58:53 +0300
parents 1c4fd25893bd
children 13cfb82736d7
files src/lib/mountpoint.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/mountpoint.c	Wed May 09 10:10:21 2007 +0300
+++ b/src/lib/mountpoint.c	Wed May 09 11:58:53 2007 +0300
@@ -58,7 +58,11 @@
 
 	point_r->device_path = p_strdup(pool, buf.f_mntfromname);
 	point_r->mount_path = p_strdup(pool, buf.f_mntonname);
+#ifdef __osf__ /* Tru64 */
+	point_r->type = p_strdup(pool, getvfsbynumber(buf.f_type));
+#else
 	point_r->type = p_strdup(pool, buf.f_fstypename);
+#endif
 	point_r->block_size = buf.f_bsize;
 	return 1;
 #else