Skip to content

Commit 907aee2

Browse files
committed
Small updates
1 parent ae5f268 commit 907aee2

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

smc_util.c

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
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
44
*
55
* 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
77
*
88
* This program is free software; you can redistribute it and/or
99
* modify it under the terms of the GNU General Public License
@@ -12,12 +12,11 @@
1212
*
1313
* This program is distributed in the hope that it will be useful,
1414
* 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
1616
* GNU General Public License for more details.
1717
*
1818
* 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/>.
2120
*/
2221

2322
#include <unistd.h>
@@ -26,7 +25,6 @@
2625
#include <sys/types.h>
2726
#include <string.h>
2827
#include <IOKit/IOKitLib.h>
29-
3028
#include "smc_util.h"
3129

3230
io_connect_t conn;
@@ -327,7 +325,7 @@ kern_return_t SMCPrintFans(void) {
327325
}
328326

329327
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);
331329
printf("Usage:\n");
332330
printf("%s [options]\n", prog);
333331
printf(" -f : fan info decoded\n");

smc_util.h

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
/*
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
44
*
55
* This program is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU General Public License
77
* as published by the Free Software Foundation; either version 2
88
* of the License, or (at your option) any later version.
9-
9+
*
1010
* This program is distributed in the hope that it will be useful,
1111
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
* GNU General Public License for more details.
14-
14+
*
1515
* You should have received a copy of the GNU General Public License
16-
* along with this program; if not, write to the Free Software
17-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16+
* along with this program; if not, see <http://www.gnu.org/licenses/>.
1817
*/
1918

2019
#ifndef __SMC_UTIL_H__

0 commit comments

Comments
 (0)