openwrt_archive/net/uob-nomad/patches/002-hostname.patch
Florian Fainelli bbfbdbe84a Add uob-nomad, closes #540
SVN-Revision: 5001
2006-10-09 18:48:05 +00:00

35 lines
716 B
Diff

--- uob-nomad-0.11/Client/net-tools/hostname.c 2003-09-05 10:21:54.000000000 +0200
+++ uob-nomad-0.11.new/Client/net-tools/hostname.c 2006-10-09 20:38:25.000000000 +0200
@@ -77,6 +77,7 @@
fprintf(stderr, _("%s: name too long\n"), program_name);
break;
default:
+ break;
}
exit(1);
}
@@ -97,6 +98,7 @@
fprintf(stderr, _("%s: name too long\n"), program_name);
break;
default:
+ break;
}
exit(1);
};
@@ -116,6 +118,7 @@
fprintf(stderr, _("%s: name too long\n"), program_name);
break;
default:
+ break;
}
exit(1);
};
@@ -173,6 +176,7 @@
printf("%s\n", hp->h_name);
break;
default:
+ break;
}
}