From 5bfe03f8c4ebec0f79e45aa636ab70192b09e8ac Mon Sep 17 00:00:00 2001 From: David Cuthbert Date: Mon, 13 Jun 2016 22:37:52 -0700 Subject: [PATCH] Show if profile is being used. --- client/ublkdev-c++/Makefile | 2 +- client/ublkdev-c++/s3.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/ublkdev-c++/Makefile b/client/ublkdev-c++/Makefile index 07d8d8c..51de81d 100644 --- a/client/ublkdev-c++/Makefile +++ b/client/ublkdev-c++/Makefile @@ -15,7 +15,7 @@ S3_SRCS = regionmap.cc s3.cc S3_OBJS = $(S3_SRCS:%.cc=%.o) S3_LD = g++ S3_LDFLAGS = -L. -S3_LIBS = -lublkdev -laws-cpp-sdk-s3 -laws-cpp-sdk-core +S3_LIBS = -lublkdev -laws-cpp-sdk-s3 -laws-cpp-sdk-core -lpthread all: $(TARGETS) libublkdev.so: $(LIB_OBJS) diff --git a/client/ublkdev-c++/s3.cc b/client/ublkdev-c++/s3.cc index ec4efe6..e049fbd 100644 --- a/client/ublkdev-c++/s3.cc +++ b/client/ublkdev-c++/s3.cc @@ -373,6 +373,7 @@ int main(int argc, char *argv[]) { shared_ptr creds; if (profile) { + cerr << "Using ProfileConfigFileAWSCredentialsProvider" << endl; creds = shared_ptr( new ProfileConfigFileAWSCredentialsProvider(profile->c_str())); }