1262 |
|
|
1263 |
for(dl= s->devicelist; dl; dl= dl->next) { |
for(dl= s->devicelist; dl; dl= dl->next) { |
1264 |
|
|
1265 |
if(dl->resource == RESOURCE_INODE) { |
if(dl->resource == RESOURCE_ID_INODE) { |
1266 |
|
|
1267 |
out_print(res, |
out_print(res, |
1268 |
"<tr><td>Inodes usage limit</a></td><td>if %s %ld %s then %s</td></tr>", |
"<tr><td>Inodes usage limit</a></td><td>if %s %ld %s then %s</td></tr>", |
1271 |
(dl->limit_absolute > -1)?"":"%", |
(dl->limit_absolute > -1)?"":"%", |
1272 |
actionnames[dl->action]); |
actionnames[dl->action]); |
1273 |
|
|
1274 |
} else if(dl->resource == RESOURCE_SPACE) { |
} else if(dl->resource == RESOURCE_ID_SPACE) { |
1275 |
|
|
1276 |
out_print(res, |
out_print(res, |
1277 |
"<tr><td>Space usage limit</a></td><td>if %s %ld %s then %s</td></tr>", |
"<tr><td>Space usage limit</a></td><td>if %s %ld %s then %s</td></tr>", |