summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/autoboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index 8c6b6904..e93b0150 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -379,8 +379,8 @@ int netboot ( struct net_device *netdev ) {
* it may represent an NFS root.
*/
if ( filename && root_path &&
- ( ! ( uri_is_absolute ( root_path ) ||
- ( xfer_uri_opener ( root_path->scheme ) == NULL ) ) ) ) {
+ ( ( ! uri_is_absolute ( root_path ) ) ||
+ ( xfer_uri_opener ( root_path->scheme ) == NULL ) ) ) {
printf ( "Ignoring unsupported root path\n" );
uri_put ( root_path );
root_path = NULL;