Change reporting processed_cmds to unsigned as suggested by ido benda <idombd@gmail.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3882 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2011-09-28 02:07:50 +00:00
parent ee2dead009
commit 32991d0fd4
2 changed files with 2 additions and 2 deletions

View File

@@ -669,7 +669,7 @@ static int lat_info_show(struct seq_file *seq, void *v)
dev_time = sess->dev_time;
processed_cmds = sess->processed_cmds;
seq_printf(seq, "\n%-15s %-16d", "Overall ",
seq_printf(seq, "\n%-15s %-16u", "Overall ",
processed_cmds);
if (processed_cmds == 0)

View File

@@ -3286,7 +3286,7 @@ static ssize_t scst_sess_latency_show(struct kobject *kobj,
processed_cmds = sess->processed_cmds;
res += scnprintf(&buffer[res], SCST_SYSFS_BLOCK_SIZE - res,
"\n%-15s %-16d", "Overall ", processed_cmds);
"\n%-15s %-16u", "Overall ", processed_cmds);
if (processed_cmds == 0)
processed_cmds = 1;