Index: bootstat.c |
diff --git a/bootstat.c b/bootstat.c |
index 3a2f1f669430268e9b182402f2162f6b755032d1..573f9efe7880bb50bdfd6023022391f6890c3dc8 100644 |
--- a/bootstat.c |
+++ b/bootstat.c |
@@ -2,6 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// Implementation of the 'bootstat' command, part of the Chromium OS |
+// 'bootstat' facility. The command provides a command line wrapper |
+// around the key functionality declared in "bootstat.h" |
+ |
#include <stdio.h> |
#include <stdlib.h> |
#include <string.h> |
@@ -10,14 +14,14 @@ |
#include "bootstat.h" |
-static void usage(char *cmd) |
+static void usage(char* cmd) |
{ |
fprintf(stderr, "usage: %s <event-name>\n", basename(strdup(cmd))); |
exit(EXIT_FAILURE); |
} |
-int main(int argc, char *argv[]) |
+int main(int argc, char* argv[]) |
{ |
if (argc != 2) |
usage(argv[0]); |