projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
btrfs-progs: qgroup: split update_qgroup to reduce arguments
[platform/upstream/btrfs-progs.git]
/
cmds-replace.c
diff --git
a/cmds-replace.c
b/cmds-replace.c
index
d1bf057
..
a3ea977
100644
(file)
--- a/
cmds-replace.c
+++ b/
cmds-replace.c
@@
-37,7
+37,8
@@
#include "disk-io.h"
#include "commands.h"
#include "disk-io.h"
#include "commands.h"
-
+#include "help.h"
+#include "mkfs/common.h"
static int print_replace_status(int fd, const char *path, int once);
static char *time2string(char *buf, size_t s, __u64 t);
static int print_replace_status(int fd, const char *path, int once);
static char *time2string(char *buf, size_t s, __u64 t);
@@
-436,7
+437,7
@@
static int print_replace_status(int fd, const char *path, int once)
printf("Never started");
break;
default:
printf("Never started");
break;
default:
- error("unknown status from ioctl DEV_REPLACE_STATUS on '%s': %llu
\n
",
+ error("unknown status from ioctl DEV_REPLACE_STATUS on '%s': %llu",
path, status->replace_state);
return -EINVAL;
}
path, status->replace_state);
return -EINVAL;
}