[CRIU] [PATCH 7/9] images: add syntax specifier to autofs.proto

Tycho Andersen tycho.andersen at canonical.com
Mon Oct 3 11:13:46 PDT 2016


avoids:

[libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: autofs.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 images/autofs.proto | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/images/autofs.proto b/images/autofs.proto
index c601346..2146ca8 100644
--- a/images/autofs.proto
+++ b/images/autofs.proto
@@ -1,3 +1,5 @@
+syntax = "proto2";
+
 message autofs_entry {
 	required int32		fd			= 1;
 	required int32		pgrp			= 2;
-- 
2.9.3



More information about the CRIU mailing list