diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-01-31 12:14:01 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-02-03 18:35:09 -0500 |
commit | a3f565b1e530a756472401835107d08fd291f242 (patch) | |
tree | 84a15e4810f63689e3f85bbbc6497ee41934705e /fs/nfs/read.c | |
parent | 4dc2eaecd4cf0687727e418540bccf956a62ebcf (diff) |
NFS: fix print format for tk_pid
The tk_pid field is an unsigned short. The proper print format specifier for
that type is %5u, not %4d.
Also clean up some miscellaneous print formatting nits.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r-- | fs/nfs/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c index 4affb536ada3..6ab4d5a9edf2 100644 --- a/fs/nfs/read.c +++ b/fs/nfs/read.c | |||
@@ -183,7 +183,7 @@ static void nfs_read_rpcsetup(struct nfs_page *req, struct nfs_read_data *data, | |||
183 | 183 | ||
184 | data->task.tk_cookie = (unsigned long)inode; | 184 | data->task.tk_cookie = (unsigned long)inode; |
185 | 185 | ||
186 | dprintk("NFS: %4d initiated read call (req %s/%Ld, %u bytes @ offset %Lu)\n", | 186 | dprintk("NFS: %5u initiated read call (req %s/%Ld, %u bytes @ offset %Lu)\n", |
187 | data->task.tk_pid, | 187 | data->task.tk_pid, |
188 | inode->i_sb->s_id, | 188 | inode->i_sb->s_id, |
189 | (long long)NFS_FILEID(inode), | 189 | (long long)NFS_FILEID(inode), |
@@ -357,7 +357,7 @@ int nfs_readpage_result(struct rpc_task *task, struct nfs_read_data *data) | |||
357 | { | 357 | { |
358 | int status; | 358 | int status; |
359 | 359 | ||
360 | dprintk("%s: %4d, (status %d)\n", __FUNCTION__, task->tk_pid, | 360 | dprintk("NFS: %s: %5u, (status %d)\n", __FUNCTION__, task->tk_pid, |
361 | task->tk_status); | 361 | task->tk_status); |
362 | 362 | ||
363 | status = NFS_PROTO(data->inode)->read_done(task, data); | 363 | status = NFS_PROTO(data->inode)->read_done(task, data); |