From 02751b1d3780ac724bbfbb93481491598194858a Mon Sep 17 00:00:00 2001 From: yury Date: Tue, 16 Nov 2004 14:57:59 +0000 Subject: [PATCH] - small fixes. --- lustre/mds/lproc_mds.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/mds/lproc_mds.c b/lustre/mds/lproc_mds.c index 37d6d67..d94d8cd 100644 --- a/lustre/mds/lproc_mds.c +++ b/lustre/mds/lproc_mds.c @@ -97,7 +97,7 @@ static int lprocfs_mds_wr_config_update(struct file *file, const char *buffer, } static int lprocfs_rd_last_fid(char *page, char **start, off_t off, - unsigned long count, int *eof, void *data) + int count, int *eof, void *data) { struct obd_device *obd = (struct obd_device *)data; struct mds_obd *mds = &obd->u.mds; @@ -112,13 +112,13 @@ static int lprocfs_rd_last_fid(char *page, char **start, off_t off, } static int lprocfs_rd_group(char *page, char **start, off_t off, - unsigned long count, int *eof, void *data) + int count, int *eof, void *data) { struct obd_device *obd = (struct obd_device *)data; struct mds_obd *mds = &obd->u.mds; *eof = 1; - return snprintf(page, count, LPD64"\n", mds->mds_num); + return snprintf(page, count, "%lu\n", (unsigned long)mds->mds_num); } struct lprocfs_vars lprocfs_mds_obd_vars[] = { -- 1.8.3.1