summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnetfs/file-get-storage-info.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libnetfs/file-get-storage-info.c b/libnetfs/file-get-storage-info.c
index 479de93c..65d16f91 100644
--- a/libnetfs/file-get-storage-info.c
+++ b/libnetfs/file-get-storage-info.c
@@ -37,11 +37,14 @@ netfs_S_file_get_storage_info (struct protid *user,
if (!user)
return EOPNOTSUPP;
+ /* Necessary to keep MiG happy. */
*naddresses = 0;
- *block_size =
-
*storage_data_len = 0;
*storage_port = MACH_PORT_NULL;
*storage_port_type = MACH_MSG_TYPE_COPY_SEND;
+ *class = STORAGE_NETWORK;
+ return 0;
+}
+