Skip to content

Commit b371af9

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "Fix quoting of paths in auth code."
2 parents 2ea91cf + bdb5233 commit b371af9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adb/client/auth.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,12 +400,12 @@ static void adb_auth_inotify_init(const std::set<std::string>& paths) {
400400
for (const std::string& path : paths) {
401401
int wd = inotify_add_watch(infd, path.c_str(), IN_CREATE | IN_MOVED_TO);
402402
if (wd < 0) {
403-
PLOG(ERROR) << "failed to inotify_add_watch on path '" << path;
403+
PLOG(ERROR) << "failed to inotify_add_watch on path '" << path << "'";
404404
continue;
405405
}
406406

407407
g_monitored_paths[wd] = path;
408-
LOG(INFO) << "watch descriptor " << wd << " registered for " << path;
408+
LOG(INFO) << "watch descriptor " << wd << " registered for '" << path << "'";
409409
}
410410

411411
fdevent* event = fdevent_create(infd, adb_auth_inotify_update, nullptr);

0 commit comments

Comments
 (0)