summaryrefslogtreecommitdiffstats
path: root/rlz/examples/rlz_id.cc
blob: ce01f1831f8e55f4b00bfff1e4b9e829b62648f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "rlz/lib/machine_id.h"

int main() {
  std::string machine_id;
  if (!rlz_lib::GetMachineId(&machine_id))
    return 1;

  printf("%s\n", machine_id.c_str());
}