summaryrefslogtreecommitdiff
path: root/libstore
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-12-31 08:07:23 +0000
committerRoland McGrath <roland@gnu.org>2001-12-31 08:07:23 +0000
commita1965486a2b689a84ee038957a026d7e81c15e89 (patch)
treedabae716e4c7320e7b6773d4c806cd9cb2c2fb2d /libstore
parent0f4cf9877fb21c58a50823d223faface53e96719 (diff)
2001-12-31 Roland McGrath <roland@frob.com>
* nbd.c (store_nbd_open): Make sure the store's name always starts with the "nbd://" prefix.
Diffstat (limited to 'libstore')
-rw-r--r--libstore/nbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstore/nbd.c b/libstore/nbd.c
index 326544d8..99db2a8f 100644
--- a/libstore/nbd.c
+++ b/libstore/nbd.c
@@ -26,6 +26,7 @@
#include <netdb.h>
#include <string.h>
#include <stdlib.h>
+#include <stdio.h>
#include <unistd.h>
#include <sys/mman.h>