summaryrefslogtreecommitdiffstats
path: root/tools/ideviceprovision.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ideviceprovision.c')
-rw-r--r--tools/ideviceprovision.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/ideviceprovision.c b/tools/ideviceprovision.c
index b9f2a02..9517af8 100644
--- a/tools/ideviceprovision.c
+++ b/tools/ideviceprovision.c
@@ -9,15 +9,15 @@
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version. 11 * version 2.1 of the License, or (at your option) any later version.
12 * 12 *
13 * This library is distributed in the hope that it will be useful, 13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details. 16 * Lesser General Public License for more details.
17 * 17 *
18 * You should have received a copy of the GNU Lesser General Public 18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software 19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */ 21 */
22#include <stdio.h> 22#include <stdio.h>
23#include <stdlib.h> 23#include <stdlib.h>
@@ -37,7 +37,7 @@
37static void print_usage(int argc, char **argv) 37static void print_usage(int argc, char **argv)
38{ 38{
39 char *name = NULL; 39 char *name = NULL;
40 40
41 name = strrchr(argv[0], '/'); 41 name = strrchr(argv[0], '/');
42 printf("Usage: %s [OPTIONS] COMMAND\n", (name ? name + 1: argv[0])); 42 printf("Usage: %s [OPTIONS] COMMAND\n", (name ? name + 1: argv[0]));
43 printf("Manage provisioning profiles on a device.\n\n"); 43 printf("Manage provisioning profiles on a device.\n\n");
@@ -411,7 +411,7 @@ int main(int argc, char *argv[])
411 case OP_INSTALL: 411 case OP_INSTALL:
412 { 412 {
413 unsigned char* profile_data = NULL; 413 unsigned char* profile_data = NULL;
414 unsigned int profile_size = 0; 414 unsigned int profile_size = 0;
415 if (profile_read_from_file(param, &profile_data, &profile_size) != 0) { 415 if (profile_read_from_file(param, &profile_data, &profile_size) != 0) {
416 break; 416 break;
417 } 417 }