diff options
Diffstat (limited to 'bsps')
-rw-r--r-- | bsps/shared/grlib/uart/apbuart_cons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/shared/grlib/uart/apbuart_cons.c b/bsps/shared/grlib/uart/apbuart_cons.c index ee635e6944..e4d026a4cc 100644 --- a/bsps/shared/grlib/uart/apbuart_cons.c +++ b/bsps/shared/grlib/uart/apbuart_cons.c @@ -321,7 +321,7 @@ int apbuart_init1(struct drvmgr_dev *dev) priv->condev.fsname = NULL; /* Get Filesystem name prefix */ prefix[0] = '\0'; - if (drvmgr_get_dev_prefix(dev, prefix)) { + if (drvmgr_get_dev_prefix(dev, prefix) == DRVMGR_OK) { /* Got special prefix, this means we have a bus prefix * And we should use our "bus minor" */ |