chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shared: the btrfs quota field is called "referenced" not "referred"
[elogind.git]
/
src
/
test
/
test-btrfs.c
diff --git
a/src/test/test-btrfs.c
b/src/test/test-btrfs.c
index 150a32ad6fff076dae5b5b34055204d3495ff02d..9e6538e7352972f65c5135ec26d1fb7f8e36e241 100644
(file)
--- a/
src/test/test-btrfs.c
+++ b/
src/test/test-btrfs.c
@@
-19,7
+19,6
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <stdlib.h>
#include <fcntl.h>
#include "log.h"
#include <fcntl.h>
#include "log.h"
@@
-51,9
+50,9
@@
int main(int argc, char *argv[]) {
if (r < 0)
log_error_errno(r, "Failed to get quota info: %m");
else {
if (r < 0)
log_error_errno(r, "Failed to get quota info: %m");
else {
- log_info("refer
red: %s", strna(format_bytes(bs, sizeof(bs), quota.referr
ed)));
+ log_info("refer
enced: %s", strna(format_bytes(bs, sizeof(bs), quota.referenc
ed)));
log_info("exclusive: %s", strna(format_bytes(bs, sizeof(bs), quota.exclusive)));
log_info("exclusive: %s", strna(format_bytes(bs, sizeof(bs), quota.exclusive)));
- log_info("refer
red_max: %s", strna(format_bytes(bs, sizeof(bs), quota.referr
ed_max)));
+ log_info("refer
enced_max: %s", strna(format_bytes(bs, sizeof(bs), quota.referenc
ed_max)));
log_info("exclusive_max: %s", strna(format_bytes(bs, sizeof(bs), quota.exclusive_max)));
}
log_info("exclusive_max: %s", strna(format_bytes(bs, sizeof(bs), quota.exclusive_max)));
}