aboutsummaryrefslogtreecommitdiff
path: root/qemu-nbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-nbd.c')
-rw-r--r--qemu-nbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-nbd.c b/qemu-nbd.c
index 99df01fd20..023eacd1c8 100644
--- a/qemu-nbd.c
+++ b/qemu-nbd.c
@@ -554,7 +554,7 @@ int main(int argc, char **argv)
case 'k':
sockpath = optarg;
if (sockpath[0] != '/') {
- error_report("socket path must be absolute\n");
+ error_report("socket path must be absolute");
exit(EXIT_FAILURE);
}
break;
@@ -571,7 +571,7 @@ int main(int argc, char **argv)
exit(EXIT_FAILURE);
}
if (shared < 1) {
- error_report("Shared device number must be greater than 0\n");
+ error_report("Shared device number must be greater than 0");
exit(EXIT_FAILURE);
}
break;