Changeset 49d819b4 in mainline for uspace/app/netstart/netstart.c
- Timestamp:
- 2010-11-02T23:15:18Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- 7ae3d6f
- Parents:
- e06ef614 (diff), d0d1f4f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/netstart/netstart.c
re06ef614 r49d819b4 32 32 33 33 /** @file 34 *35 34 * Start the networking subsystem. 36 * Perform networking self-test if executed37 * with the -s argument.38 *39 35 */ 40 36 … … 52 48 #include <net/modules.h> 53 49 54 #include "self_test.h"55 56 50 /** Start a module. 57 51 * 58 * @param[in] desc The module description 59 * @param[in] path The module absolute path. 60 * 61 * @returns true on succesful spanwning 62 * @returns false on failure 63 * 52 * @param[in] desc The module description 53 * @param[in] path The module absolute path. 54 * @returns True on succesful spanwning. 55 * @returns False on failure 64 56 */ 65 57 static bool spawn(const char *desc, const char *path) … … 86 78 ERROR_DECLARE; 87 79 88 /* Run self-tests */89 if ((argc > 1) && (str_cmp(argv[1], "-s") == 0))90 ERROR_PROPAGATE(self_test());91 92 80 if (!spawn("networking service", "/srv/net")) 93 81 return EINVAL;
Note:
See TracChangeset
for help on using the changeset viewer.