diff options
Diffstat (limited to 'tools/idevicesyslog.c')
| -rw-r--r-- | tools/idevicesyslog.c | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index 23f74ab..4bc4b45 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c @@ -8,15 +8,15 @@   * modify it under the terms of the GNU Lesser General Public   * License as published by the Free Software Foundation; either   * version 2.1 of the License, or (at your option) any later version. - *  + *   * This library is distributed in the hope that it will be useful,   * but WITHOUT ANY WARRANTY; without even the implied warranty of   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   * Lesser General Public License for more details. - *  + *   * You should have received a copy of the GNU Lesser General Public   * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA  + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   */  #include <stdio.h> @@ -187,7 +187,7 @@ int main(int argc, char *argv[])  	}  	idevice_event_unsubscribe();  	stop_logging(); -  +  	if (udid) {  		free(udid);  	} @@ -198,7 +198,7 @@ int main(int argc, char *argv[])  void print_usage(int argc, char **argv)  {  	char *name = NULL; -	 +  	name = strrchr(argv[0], '/');  	printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0]));  	printf("Relay syslog of a connected device.\n\n");  | 
