mirror of
https://github.com/switchbrew/switch-tools.git
synced 2025-06-29 16:52:40 +02:00
Added a newline to the 'pinging switch' print and fixed a string warning in build_pfs0.
This commit is contained in:
parent
251e3196b0
commit
0e2d4806b1
@ -43,7 +43,7 @@ int build_pfs0(char *in_dirpath, char *out_pfs0_filepath)
|
|||||||
pfs0_fsentry fsentries[MAX_FS_ENTRIES];
|
pfs0_fsentry fsentries[MAX_FS_ENTRIES];
|
||||||
pfs0_fsentry *fsentry;
|
pfs0_fsentry *fsentry;
|
||||||
|
|
||||||
char objpath[256];
|
char objpath[257];
|
||||||
|
|
||||||
char stringtable[0x100];
|
char stringtable[0x100];
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ void timeval_add (struct timeval *result, struct timeval *x, struct timeval *y)
|
|||||||
static struct in_addr findSwitch(int retries) {
|
static struct in_addr findSwitch(int retries) {
|
||||||
//---------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------
|
||||||
|
|
||||||
printf("pinging switch");
|
printf("pinging switch\n");
|
||||||
|
|
||||||
struct sockaddr_in s, remote, rs;
|
struct sockaddr_in s, remote, rs;
|
||||||
char recvbuf[256];
|
char recvbuf[256];
|
||||||
|
Loading…
Reference in New Issue
Block a user