diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-01-17 21:08:53 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-01-17 21:08:53 +0100 |
commit | 772a4f3bd52f857f46669253ec34ad0dcd6001c4 (patch) | |
tree | d7dabaa023ab69fa6582c3be88d84db2e9064097 /dpid/main.c | |
parent | 2370663e4ce34f52aa2f89d7d3a979b08c0a54bb (diff) |
Print number of loaded DPIs on startup
Diffstat (limited to 'dpid/main.c')
-rw-r--r-- | dpid/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dpid/main.c b/dpid/main.c index b73eb4af..90432be5 100644 --- a/dpid/main.c +++ b/dpid/main.c @@ -1,7 +1,8 @@ /* Copyright (C) 2003 Ferdi Franceschini <ferdif@optusnet.com.au> - 2020 Axel Beckert <abe@debian.org> - 2023 Michal Grezl <walley@walley.org> + Copyright (C) 2020 Axel Beckert <abe@debian.org> + Copyright (C) 2023 Michal Grezl <walley@walley.org> + Copyright (C) 2025 Rodrigo Arias Mallo <rodarima@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -294,7 +295,7 @@ int main(void) (void) sigemptyset(&mask_none); (void) sigprocmask(SIG_SETMASK, &mask_none, NULL); - printf("dpid started\n"); + printf("dpid started (found %d dpis)\n", numdpis); /* Start main loop */ while (1) { do { |