|
1 | 1 | /*
|
2 |
| - * Apple System Management Control (SMC) Tool |
3 |
| - * Copyright (C) 2006 devnull |
| 2 | + * Apple System Management Control (SMC) Utility |
| 3 | + * Copyright (C) 2012 Alex Leigh |
4 | 4 | *
|
5 | 5 | * Compile with:
|
6 |
| - * cc ./smc_util.c -o smc_util -framework IOKit -framework CoreFoundation -Wno-four-char-constants -Wall -g -arch i386 |
| 6 | + * cc smc_util.c -o smc_util -framework IOKit -framework CoreFoundation -Wno-four-char-constants -Wall -g -arch i386 |
7 | 7 | *
|
8 | 8 | * This program is free software; you can redistribute it and/or
|
9 | 9 | * modify it under the terms of the GNU General Public License
|
|
12 | 12 | *
|
13 | 13 | * This program is distributed in the hope that it will be useful,
|
14 | 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15 |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | 16 | * GNU General Public License for more details.
|
17 | 17 | *
|
18 | 18 | * You should have received a copy of the GNU General Public License
|
19 |
| - * along with this program; if not, write to the Free Software |
20 |
| - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 19 | + * along with this program; if not, see <http://www.gnu.org/licenses/>. |
21 | 20 | */
|
22 | 21 |
|
23 | 22 | #include <unistd.h>
|
|
26 | 25 | #include <sys/types.h>
|
27 | 26 | #include <string.h>
|
28 | 27 | #include <IOKit/IOKitLib.h>
|
29 |
| - |
30 | 28 | #include "smc_util.h"
|
31 | 29 |
|
32 | 30 | io_connect_t conn;
|
@@ -327,7 +325,7 @@ kern_return_t SMCPrintFans(void) {
|
327 | 325 | }
|
328 | 326 |
|
329 | 327 | void usage(char* prog) {
|
330 |
| - printf("Apple System Management Control (SMC) tool %s\n", VERSION); |
| 328 | + printf("Apple System Management Control (SMC) Utility %s\n", VERSION); |
331 | 329 | printf("Usage:\n");
|
332 | 330 | printf("%s [options]\n", prog);
|
333 | 331 | printf(" -f : fan info decoded\n");
|
|
0 commit comments