diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-02-01 01:04:52 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-02-01 01:04:52 +0000 |
commit | da72e57b4a3b51f31f7e00f167faaf03307118c6 (patch) | |
tree | 9f09a89af9fb333892096cf73709099266b5dc78 /src/ifstatus.c | |
parent | 806102792aeaa3e5020908e4d97593b621c9f543 (diff) |
several fixes
rename ifstatus
git-svn-id: file:///home/lennart/svn/public/ifplugd/trunk@96 2bf48fe7-cfc1-0310-909f-d9042e1e0fef
Diffstat (limited to 'src/ifstatus.c')
-rw-r--r-- | src/ifstatus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ifstatus.c b/src/ifstatus.c index c409672..12cdd89 100644 --- a/src/ifstatus.c +++ b/src/ifstatus.c @@ -93,7 +93,7 @@ int handle(char *iface) { default: if (!verbose) - printf("%s: not supported\n", iface); + printf("%s: not supported%s\n", iface, getuid() != 0 ? " (Retry as root?)" : ""); r = -1; break; @@ -152,9 +152,9 @@ void parse(int argc, char *argv[]) { break; case 'V': #ifdef SVN_REVISION - printf("ifstatus "VERSION" (SVN: "SVN_REVISION")\n"); + printf("ifplugstatus "VERSION" (SVN: "SVN_REVISION")\n"); #else - printf("ifstatus "VERSION"\n"); + printf("ifplugstatus "VERSION"\n"); #endif exit(0); default: |