summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authortklauser@access.unizh.ch <tklauser@access.unizh.ch>2005-03-11 02:19:04 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:53:17 -0700
commite296b1476e99150413d92c58e3b5e07e5bda9fd4 (patch)
treebc31218382f5a8f07fa022f518b220de512e5cdb /extras
parent3810823b4410e0bfbaa46e5e63e36a0989ba37f3 (diff)
[PATCH] The following patch fixes a warning when compiling chassis_id
Diffstat (limited to 'extras')
-rw-r--r--extras/chassis_id/table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/chassis_id/table.c b/extras/chassis_id/table.c
index 8d14cd1b59..ee64ecc774 100644
--- a/extras/chassis_id/table.c
+++ b/extras/chassis_id/table.c
@@ -59,7 +59,7 @@ int table_init(void)
i = 0;
while (!feof(fp)) {
fgets(ptr, 80, fp);
- sscanf(ptr, "%d %d %d %d %d %s %s", &ptable[i].id,
+ sscanf(ptr, "%d %d %d %d %s %s", &ptable[i].id,
&ptable[i].num_disks,
&ptable[i].chassis_num, &ptable[i].slot_num,
ptable[i].serial_num, ptable[i].name);