projects
/
platform
/
upstream
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
626c2a3
)
Make output somewhat more pretty
author
Wouter Verhelst
<w@uter.be>
Sat, 5 May 2012 09:22:05 +0000
(11:22 +0200)
committer
Wouter Verhelst
<w@uter.be>
Sat, 5 May 2012 09:22:05 +0000
(11:22 +0200)
nbd-client.c
patch
|
blob
|
history
diff --git
a/nbd-client.c
b/nbd-client.c
index 30dc3e4f49299691131957ee91bac3526d264f60..4338bf544025fc8d4916e6c22993b99103df8788 100644
(file)
--- a/
nbd-client.c
+++ b/
nbd-client.c
@@
-148,6
+148,8
@@
void ask_list(int sock) {
if(write(sock, &len, sizeof(len)) < 0) {
err("writing length failed: %m");
}
+ /* newline, move away from the "Negotiation:" line */
+ printf("\n");
do {
memset(buf, 0, 1024);
if(read(sock, &magic, sizeof(magic)) < 0) {